lilypond-user
[Top][All Lists]
Advanced

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

Re: Switching on/off instrument staff


From: tisimst
Subject: Re: Switching on/off instrument staff
Date: Tue, 7 Jul 2015 16:15:56 -0700 (MST)

Short answer: No. 

Long answer: Still no. However, you could just use block comments %{ ... %} around the staff you want to temporarily disable.

HTH,
Abraham

On Tuesday, July 7, 2015, Víctor [via Lilypond] <[hidden email]> wrote:
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
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user



If you reply to this email, your message will be added to the discussion below:
http://lilypond.1069038.n5.nabble.com/Switching-on-off-instrument-staff-tp178484.html
To start a new topic under User, email <a href="" target="_blank">address@hidden
To unsubscribe from Lilypond, click here.
NAML


View this message in context: Re: Switching on/off instrument staff
Sent from the User mailing list archive at Nabble.com.

reply via email to

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