|
From: | Andrew Bernard |
Subject: | Re: \RemoveAllEmptyStaves and Dyanmics context line for piano pedals |
Date: | Sat, 10 Feb 2018 21:35:32 +1100 |
The difference between \RemoveEmptyStaves and \RemoveAllEmptyStaves is that
\RemoveEmptyStaves will not remove empty staves in the first system, the
reason for it being that in orchestral scores it is common to display all
instruments involved in the first system - no matter if they play or not.
Your problem is caused by the fact that, from LilyPond's point of view,
staves containing "no music", i.e. rests or spacer rests only, are
considered as "empty". Therefore, dynamics will also vanish using
\RemoveEmtpyStaves.
The difference between PianoStaff and GrandStaff, by the way, is that
PianoStaff uses the "Keep_alive_together_engraver". This has the effect (in
orchestral scores) that both piano staves are shown as soon as one of them
contains music.
[Prev in Thread] | Current Thread | [Next in Thread] |