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