Am 12.02.2015 um 12:40 schrieb Noeck <[email protected]>:


www.oleschmidt.de



> Hi Ole,
> 
>> Is it possible to use a variable inside a markup
> 
> Yes. With two modifications to your code:
> 1. The definition of def must be a markup (insert \markup before the 
> \center-column)
> 2. You have to call a variable with a backslash (\def).
> The definitions of a variable is: var = …
> The usage of a variable is: \var
> 
> 
> def = \markup \center-column {
>  \combine
>  \draw-line #'(0 . 6)
>  \arrow-head #Y #DOWN ##f
> }
> 
> { c1^\markup {\def} }
> 
> Cheers,
> Joram
> 

works, thanks!




> _______________________________________________
> lilypond-user mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/lilypond-user


_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to