On 11 June 2011 06:29, Edward Neeman <address@hidden> wrote:
Hello,
How do you remove empty staves from a PianoStaff context? The following
used to work in 2.12, but it no longer works in 2.14:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.14.0"
\new PianoStaff <<
\relative c' { c1 \break c \break c \break}
\relative c' { R1 \break R \break c \break }
\layout { \context { \Staff \RemoveEmptyStaves } }
%%%%%%%%%%%%%%%%%%%%
This is a feature!
PianoStaff are now removed only if both staves are empty.
To be able to remove staves from PianoStaff independently, simply add
\context {
\PianoStaff
\remove "Keep_alive_together_engraver"
}
to your \layout block.
Cheers,
Xavier