[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: variable in markup possible?
From: |
Ole Schmidt |
Subject: |
Re: variable in markup possible? |
Date: |
Thu, 12 Feb 2015 13:36:24 +0100 |
Am 12.02.2015 um 12:40 schrieb Noeck <address@hidden>:
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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user