Re: Switching on/off instrument staff

2015-07-08 Thread Robert Schmaus
Hi Chris, The tag method is a fantastic tool in many cases, so it's great to be aware of it. Just in this particular case it's maybe not the easiest way to go. Yeah, that's how I mostly use variables as well - placing just the music in variables and then, in the score block, build up a

Re: Switching on/off instrument staff

2015-07-08 Thread Chris Yate
Hi Rob, Wow, thanks, that's a much neater way. I think I should probably look at refactoring my band template. I agree, my method is a bit complicated -- but it's bothering me a bit, because I think there was a reason I did it like this in the first place! Could well be an insufficient

Re: Switching on/off instrument staff

2015-07-08 Thread Robert Schmaus
In addition to the suggested way with tags (which surely works, but which I find overly complicated), a simpler way would be to simply place the Staffs in variables and comment out the ones you don't want to have in the next engraving. Like this: violinStaff = \new Staff \with { instrumentName =

Re: Switching on/off instrument staff

2015-07-08 Thread Víctor
Wow, so many answers. I think Rob's solution will be the most close to what I need, however I fear Abraham already answered my question. I'll explain my problem further: I'm working in a three volume anthology for a singers school, each volume will come in two versions, one for the professor

Re: Switching on/off instrument staff

2015-07-08 Thread tisimst
=5 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-tp178484p178514.html To start a new topic under

Re: Switching on/off instrument staff

2015-07-08 Thread Víctor
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-tp178484p178514.html To start a new topic under User, email [hidden email] /user

Re: Switching on/off instrument staff

2015-07-08 Thread tisimst
Staff ... \new Dynamics ... \new Staff ... Oh, and you don't need to explicitly create a \new Voice anymore in the upper piano Staff if you do that. Just a small suggestion. - Abraham -- View this message in context: http://lilypond.1069038.n5.nabble.com/Switching-on-off-instrument-staff

Re: Switching on/off instrument staff

2015-07-08 Thread Víctor
Also, I don't know if it makes a difference to you (it appears the output doesn't change), but I'd move your Dynamic section more explicitly in-between the two piano staves. I think it just makes the code a little cleaner. Like this: \new PianoStaff \new Staff ... \new Dynamics ... \new

Switching on/off instrument staff

2015-07-07 Thread Víctor
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 {

Re: Switching on/off instrument staff

2015-07-07 Thread tisimst
-- 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 ml-node+s1069038n...@n5.nabble.com javascript:_e(%7B%7D

Re: Switching on/off instrument staff

2015-07-07 Thread Chris Yate
] http:///user/SendEmail.jtp?type=nodenode=178484i=0 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

Re: Switching on/off instrument staff

2015-07-07 Thread Chris Yate
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=javascript:_e(%7B%7D,#39;cvml#39;,# 39;ml-node%2bs1069038n...@n5.nabble.com#39;); target=_blankml-node+s1069038n3h2