lilypond-user
[Top][All Lists]
Advanced

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

Re: Adding / deleting staves on the fly


From: Kieren MacMillan
Subject: Re: Adding / deleting staves on the fly
Date: Tue, 31 Jul 2007 21:12:58 -0400

Hi Reinhold:

my naive attempts led me to a solution, which apparently works just fine:

Nice.

Unfortunately, the enclosed snippet appears to show that you can't set this property "inline"... =\
Any thoughts on how to get around that?

Thanks,
Kieren.
____________________

\version "2.11.27"

\layout { \context { \RemoveEmptyStaffContext } }

theMusic = \relative
{
        c d e f c d e f \break
        R1*2 \break
        \override Staff.VerticalAxisGroup #'remove-empty = ##t
                R1*2 \break
        \override Staff.VerticalAxisGroup #'remove-empty = ##f
                R1*2
}

\score
{
    \theMusic
}




reply via email to

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