lilypond-user
[Top][All Lists]
Advanced

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

Re: print bass staff not always


From: Gianmaria Lari
Subject: Re: print bass staff not always
Date: Thu, 24 Jan 2019 14:31:09 +0100

From David K.
AFAIR, \PianoStaff \remove "Keep_alive_together_engraver" is the same as
\GrandStaff .  And \RemoveEmptyStaves \override
VerticalAxisGroup.remove-first = ##t is the same as
\RemoveAllEmptyStaves .

So it's more like you want

\score
{
  \new GrandStaff <<
    \new Staff \rh
    \new Staff \with {
      keepAliveInterfaces =
      #'( rest-interface bass-figure-interface chord-name-interface
cluster-beacon-interface
          fret-diagram-interface lyric-syllable-interface
note-head-interface tab-note-head-interface lyric-interface
          percent-repeat-item-interface percent-repeat-interface
stanza-number-interface
          )
    } \lh
  >>
  \layout {
    \context {
      \GrandStaff
      \RemoveAllEmptyStaves
    }
  }
}

Tried it and you're right, the output is the same. Thank you David!
g. 

reply via email to

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