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.

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to