On Sat, Aug 8, 2009 at 8:01 AM, Mark Polesky<[email protected]> wrote:
>
> Valentin Villenave wrote:
>
>> How about creating a FluteStaff context, and invoke it with
>> \new FluteStaff
>> instead of \with?
>
> I think "SmallStaff" is more accurate.
> - Mark
It would be nice if something like this were included in the default
lilypond install. It's fairly common for piano+1 pieces. Below is a go
at it. It should also let you create a small piano staff with normal
sized part also.
-----Jay
\version "2.12.2"
\paper { ragged-right = ##t }
fluteNotes = \relative c'' { c4 d e f | }
rightHandNotes = \relative c' { e4 f g a | }
leftHandNotes = \relative c { c4 c c c | }
\score
{
<<
\new SmallStaff
{
\fluteNotes
}
\new PianoStaff
<<
\new Staff
{
\rightHandNotes
}
\new Staff
{
\clef bass
\leftHandNotes
}
>>
>>
\layout
{
\context
{
\Score
\accepts "SmallStaff"
}
\context
{
\PianoStaff
\accepts "SmallStaff"
}
\context
{
\Staff
\type "Engraver_group"
\name "SmallStaff"
\alias "Staff"
fontSize = #-3
\override StaffSymbol #'staff-space = #(magstep -3)
}
}
}
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user