lilypond-user
[Top][All Lists]
Advanced

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

Multi non static substition


From: E Appeldoorn
Subject: Multi non static substition
Date: Sat, 20 Apr 2019 09:48:01 +0000
User-agent: eM_Client/7.2.34959.0

I have defined this function in an include.ly file

MyMarkup  = {
                  \markup
                  \override #'(adjust-x-pos . 1.0)
                   \override #'(adjust-length . 1.5)
                    }

I have found the explanation for non-static substitution in the documentation.
http://lilypond.org/doc/v2.18/Documentation/learning/saving-typing-with-variables-and-functions.en.html

How can I extend that example so I can use one call to the function passing both pos and length variable in the callout. Something like:

\MyMarkup #1.0 #1.5

Thanks, Ursus

reply via email to

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