lilypond-user
[Top][All Lists]
Advanced

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

Re: Removing Empty Staves [2.12 vs 2.14]


From: Alberto Simões
Subject: Re: Removing Empty Staves [2.12 vs 2.14]
Date: Wed, 28 Sep 2011 12:13:33 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2



On 28/09/2011 12:05, Xavier Scheuer wrote:
2011/9/28 Alberto Simões<address@hidden>:

Hello

It seems that the 2.12 command

       \RemoveEmptyStaffContext

is, in 2.14,

       \Staff \RemoveEmptyStaves

But the behavior is not exactly the same.
In the attached image, left is 2.14, right is 2.12.

How to get the 2.12 behavior with 2.14?

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.

Hello

Trying

    \context {
      \PianoStaff
      \remove "Keep_alive_together_engraver"
      \Staff      \RemoveEmptyStaves
      \override VerticalAxisGroup #'remove-first = ##t
    }

But I get complains:

_.ly:94:6: error: syntax error, unexpected CONTEXT_DEF_IDENTIFIER

      \Staff      \RemoveEmptyStaves
_.ly:104:0: error: syntax error, unexpected '}'

}
Thank you :)
Alberto

--
Alberto Simoes
CEHUM



reply via email to

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