[Top][All Lists]

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

Re: Switching on/off instrument staff

From: Chris Yate
Subject: Re: Switching on/off instrument staff
Date: Wed, 8 Jul 2015 00:27:24 +0100

Yes. This is how I do parts and score.

Use tags

music = 
          \new StaffGroup <<
\tag #'score \tag #'sop  \new Staff \with { instrumentName = #"Soprano Cornet" 
                    shortInstrumentName = #"Eb Cn" } <<     \global \Marks \SopranoCornetVoice >>        
\tag #'score \tag #'solc         \new Staff \with { instrumentName = #"Solo cornet" 
                           shortInstrumentName = #"S Cn" }  <<   \global \Marks  \SoloCornetVoice >>
\tag #'score \tag #'repc         \new Staff \with { instrumentName = #"Repiano cornet" 
                           shortInstrumentName = #"R Cn" }  <<   \global \Marks \RepianoCornetVoice >>
\tag #'score \tag #'c2         \new Staff \with { instrumentName = #"2nd Cornet" 
                           shortInstrumentName = #"Cn 2" }  <<   \global \Marks \SecondCornetVoice >>
      >> %staffgroup


(This is 2nd Cornet)

\score {
 \keepWithTag #'c2 \music
  \midi { }


#(set-default-paper-size "a4landscape")
#(set-global-staff-size 14)
\score {
 \keepWithTag #'score \music

  \midi { }

On 8 July 2015 at 00:15, tisimst <address@hidden> wrote:
Short answer: No. 

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


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:

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



lilypond-user mailing list
[hidden email]

If you reply to this email, your message will be added to the discussion below:
To start a new topic under User, email <a href="" href="mailto:address@hidden" target="_blank">39;address@hidden&#39;);" target="_blank">address@hidden
To unsubscribe from Lilypond, click here.

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

lilypond-user mailing list

reply via email to

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