lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding a temporal 3rd staff (for only 2 bars) in a Piano Staff


From: fauban
Subject: Re: Adding a temporal 3rd staff (for only 2 bars) in a Piano Staff
Date: Sun, 22 Aug 2010 08:22:44 -0700 (PDT)


Phil Holmes-2 wrote:
> 
> ----- Original Message ----- 
> From: "fauban" <address@hidden>
> To: <address@hidden>
> Sent: Sunday, August 22, 2010 10:52 AM
> Subject: Adding a temporal 3rd staff (for only 2 bars) in a Piano Staff
> 
> 
>> Hello Lilypond Community!
>> I am typesetting a piano score.
>> As most keyboard pieces, it begins with 2 staves, but measures 14 and 15
>> would need a 3rd staff over the other two. (I am using the new PianoStaff
>> command)
>>
>> I have tried to make something like an ossia staff, but it's not the
>> same,
>> as its bar lines are not connected to the ones of the two main staves.
>>
>> Here is an example of what I want to do (Debussy: Préludes - Book II, 
>> No.1;
>> taken from the IMSLP. Check the 1st page):
>> http://imslp.info/files/imglnks/usimg/d/dd/IMSLP00510-Debussy_-_Preludes__Book_2.pdf
> 
> 
> No doubt there are a number of ways of doing this by adding extra staves, 
> but the way I would do it is by allowing LilyPond to remove empty staves. 
> Here's an example:
> 
> \layout {
>   \context {
>     \RemoveEmptyStaffContext
>     \override VerticalAxisGroup #'remove-first = ##t
>   }
> }
> {
> <<
> \new PianoStaff <<
> \new Staff {
>    \clef "treble"
>    \time 4/8
>    R1*4/8 |
>    \repeat unfold 4 { g''32 ( [ e''32 c''32 b'32 ) ] } |
>    R1*4/8 \bar "|."
>  }
> \new Staff {
>   \clef "treble"
>   \time 4/8
>   \repeat unfold 4 { b'32 ( [ g'32 e'32 d'32 ) ] } \break |
>   \repeat unfold 4 { b'32 ( [ g'32 e'32 d'32 ) ] } \break |
>   \repeat unfold 4 { b'32 ( [ g'32 e'32 d'32 ) ] } \break |
>   }
> \new Staff {
>   \clef "bass"
>   \time 4/8
>   \repeat unfold 4 { e32 ( [ g32 b32 c'32 ) ] } \break |
>   \repeat unfold 4 { e32 ( [ g32 b32 c'32 ) ] } \break |
>   \repeat unfold 4 { e32 ( [ g32 b32 c'32 ) ] } \break |
>  }
>>>
>>>
> }
> 
> 
> --
> Phil Holmes
> 
> 

Perfect! That's what I was looking for.

Best regards,
Fauban
-- 
View this message in context: 
http://old.nabble.com/Adding-a-temporal-3rd-staff-%28for-only-2-bars%29-in-a-Piano-Staff-tp29503969p29504757.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]