Aha! Thanks!

Edward

On 6/11/11 3:11 AM, Xavier Scheuer wrote:
On 11 June 2011 06:29, Edward Neeman <[email protected]> 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

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to