On Fri, 21 Dec 2018 at 09:51, Gianmaria Lari <[email protected]>
wrote:
> This works perfectly and print ciccio:
>
> \version "2.19.82"
> test = #(define-scheme-function () () #{ \markup "ciccio" #} )
> \test
>
>
> but if i specify two markups instead of one like here....
>
> \version "2.19.82"
> test = #(define-scheme-function () () #{ \markup "ciccio" \markup "ciccio"
> #} )
> \test
>
>
> then it stop to works.
> Why? And how should I do if I need to specify two markups?
> Thank you, g.
>
I found a solution to the second question <<How should I do if I need to
specify two markups?>>
I can specify the markup arguments inside a curly bracket. So instead of
\markup \a \markup \b % doesn't work
it is possible to do
\markup {\a \b}.
That's mean that the previous code become:
\version "2.19.82"
test = #(define-scheme-function () () #{ \markup {"ciccio" "ciccio"} #} )
\test
(This was just an example.... it makes sense if you use variables instead
of "ciccio")
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user