lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: two markups


From: Gianmaria Lari
Subject: Re: two markups
Date: Fri, 21 Dec 2018 10:03:49 +0100



On Fri, 21 Dec 2018 at 09:51, Gianmaria Lari <address@hidden> 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")


 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]