lilypond-user
[Top][All Lists]
Advanced

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

Re: Multi non static substition


From: Andrew Bernard
Subject: Re: Multi non static substition
Date: Sat, 20 Apr 2019 19:59:29 +1000

HI Ursus,

You will need to use a music function. You can look this up in the notation reference (NR).

Also, you are making overrides of properties but have not specified any markup to apply them to. Not sure what you are after.

As usual, let me take a moment to suggest it would be great for you to move to the 2.19.83 release (I assum you are on 2.18 from your link). Much better in every respect - many more years of development. And also my usual comment; it's called unstable but this is traditional open source conservatism (and it is _technically_ so) but in practice it's very, very reliable and solid. And if for some remote reason it does not work for you, nothing is stopping you from reverting.

Andrew


On Sat, 20 Apr 2019 at 19:48, E Appeldoorn <address@hidden> wrote:
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


reply via email to

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