[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Variables in instrumentName markup?
From: |
Mark Knoop |
Subject: |
Re: Variables in instrumentName markup? |
Date: |
Sat, 28 Mar 2015 19:27:03 +0000 |
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