lilypond-user
[Top][All Lists]
Advanced

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

Switching on/off instrument staff


From: Víctor
Subject: Switching on/off instrument staff
Date: Tue, 07 Jul 2015 10:42:16 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

Hello Lilyponders:

Is there a way to place a switch in some instrument part so it is not rendered when such switch is off? Something like:

\score{
    <<
        \new Staff \with { instrumentName = "Violin" }{
            \relative c'' { c4 d e f }
        }
        \new Staff \with { instrumentName = "Cello" }{
            \relative c { c4 d e f }
        }
    >>
}

\layout{
    \disableCello
}

Thanks,
Víctor.



reply via email to

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