At 14:13 on 28 Mar 2015, Trevor Bača wrote:
>Hi,
>
>Is there a way to do ...
>
>   foo = #12
>   \new Staff \with {
>      instrumentName = \markup { \hcenter-in \foo Percussion }
>   } { ... }
>   \new Staff \with {
>      instrumentName = \markup { \hcenter-in \foo Violin }
>   } { ... }
>
>... or equivalent?

Just write #foo. Or even #(+ foo 3), #(/ foo 2.735), ....

-- 
Mark Knoop

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

Reply via email to