lilypond-user
[Top][All Lists]
Advanced

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

Re: \RemoveEmptyStaves not removing first line


From: Lukas-Fabian Moser
Subject: Re: \RemoveEmptyStaves not removing first line
Date: Wed, 31 Oct 2018 08:54:36 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

(Replying to list, assuming you wrote to me personally only by accident, as implied by your wording):

Am 31.10.18 um 00:42 schrieb Rohan Srinivasan:
Could any of you give me an example of how \RemoveAllEmptyStaves is used? I have:

\layout {
  \context {
    \Staff
    \RemoveAllEmptyStaves
  }
}

This still doesn't seem to clear the empty staves in the first system.

Please always try to provide a compilable minimal example showing your problem.

\version "2.19.80"

\layout {
  \context {
    \Staff
    \RemoveAllEmptyStaves
  }
}

<<
  \new Staff \with { instrumentName = "Voice" shortInstrumentName = "Voc" } { R1*30 \repeat unfold 80 c'4 }
  \new PianoStaff \with { instrumentName = "Piano" shortInstrumentName = "Pn" } <<
    \new Staff { \repeat unfold 200 c'4 }
    \new Staff { \clef bass \repeat unfold 400 c8 }
  >>
>>

works here:

Best
Lukas


reply via email to

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