lilypond-user
[Top][All Lists]
Advanced

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

Re: trouble with RemoveEmptyStaffContext


From: Jan-Peter Voigt
Subject: Re: trouble with RemoveEmptyStaffContext
Date: Wed, 02 Apr 2014 07:48:34 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

Hi Graham,

you will most likely have a PianoStaff for the keys and a ChoirStaff or StaffGroup (or the like) for the choir. You can consist a grouping context (ChoirStaff,StaffGroup,...) with:

\consists "Keep_alive_together_engraver"

That way the whole group disappears only, if all child-context would disappear on there own.

IIRC the PianoStaff context consists this engraver per default.

HTH

Jan-Peter

Am 02.04.14 00:42, schrieb Graham King:
In a vocal score (SATB on separate staves + keyboard), it is useful to suppress empty staves when all the singers are silent, using:
\score { \layout { \context { \RemoveEmptyStaffContext }}}

Is there a way to suppress this behaviour selectively, when one singer happens to have a few bars rest?  In other words, force the tenor (for example) to display a line of R1 rests, to prevent the score suddenly appearing as SAB + keyboard for a line?

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


reply via email to

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