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
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to