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

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

Reply via email to