"Phil Holmes" <m...@philholmes.net> writes:

> ----- Original Message ----- 
> From: "David Kastrup" <d...@gnu.org>
> To: <lilypond-user@gnu.org>
> Sent: Wednesday, February 26, 2014 2:02 PM
> Subject: Re: 3 staff piano score
>
>
>> Gabriel Striewe <li...@gabriel-striewe.de> writes:
>>
>>>> >in some, especially contemporary piano literature, a piano can
>>>> have >more
>>>> >than 2 staffs, for example three or four, usually only for the duration
>>>> >of a few bars.
>>>> >
>>>> >I usually notate my music using \parallelMusic.
>>>> >
>>>> >My question is: how do I achive this? I would like a third or fourth
>>>> >staff to appear only during some bars, not continuously.
>>>
>>> http://www.lilypond.org/doc/v2.16/Documentation/snippets/staff-notation#staff-notation-adding-an-extra-staff
>>
>> So why aren't you doing it in that way?
>
> There are alternative options: the OP's original code will work with
> this alteration:
>
> \layout {
> \context {
> \Staff \RemoveEmptyStaves
> \override VerticalAxisGroup #'remove-first = ##t
> }
> \context {
> \PianoStaff
> \remove "Keep_alive_together_engraver"
> }
> }
>
> I'd say this is a bug in the documentation.

It very much depends on whether you prefer retaining empty staves for
the rest of the line.  But that's more common for things like split or
silent choir voices rather than additional staves for the same
instrument.

-- 
David Kastrup

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to