On 2015-09-04 18:32, David Kastrup wrote:
>Hi,
>
>When I have a score, how can I define rehersal marks globally (instead of in 
every voice) so that they appear in every other voice, when I print it out  (like 
below)?
>
>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>global= {
>   \time 4/4
>   \key c \major
>}
[...]

Well, the following might be relying a bit much on current semantics but
at least now it appears to do the trick.


global =
<<
   \global
   \new Devnull \violinOne


If you already have a variable with all the rehearsal marks I agree with David's suggestion to use that as a Devnull. But if you are starting on a new score I think it's a better solution to create the rehearsal marks and other common stuff as an own variable, at least it's what I'd prefer.

Best
Peter

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

Reply via email to