lilypond-user
[Top][All Lists]
Advanced

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

Re: Caesura in Rehearsal Mark over each line of system


From: tisimst
Subject: Re: Caesura in Rehearsal Mark over each line of system
Date: Thu, 12 Feb 2015 16:00:45 -0700 (MST)

Kieren MacMillan wrote
> Hi Conor,
> 
>> That is beautiful, both in its coding simplicity and in the final
>> product!
> 
> Unless you’re planning to have *all* of your marks (including \mark
> \default, etc.) above every staff — which is not a usual engraving
> convention — why not just put the caesura in a global variable that is
> layered into every staff?

Conor,

I am inclined to agree with Kieren. Manually putting the marks in EVERY
staff can be tedious and error prone, depending on how many you plan to use.
The better way is to create another voice that only contains spacer rests
with the marks at the appropriate position(s), then make it simultaneous
with a voice in each staff. That way you only have to define where the marks
are once, but it is replicated perfectly. Here's a complete example:

%< ------------------------ SNIP

\version "2.18.2"

markVoice = {
  s1*3
  \mark \default
  s1*5
  \mark \default
  s1*4
}

partI = \relative c' {
 \repeat unfold 13 { c1 }
}

partII = \relative c' {
 \repeat unfold 13 { d1 }
}

\score {
  \new ChoirStaff <<
    \new Staff <<
      \new Voice \markVoice
      \new Voice \partI
    >>
    \new Staff <<
      \new Voice \markVoice
      \new Voice \partII
    >>
  >>
  \layout {
    \context {
      \Score
      \remove "Mark_engraver"
    }
    \context {
      \Staff
      \consists "Mark_engraver"
    }
  }
}

%< ------------------------ SNIP

HTH,
Abraham



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Caesura-in-Rehearsal-Mark-over-each-line-of-system-tp171757p171788.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

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