lilypond-user
[Top][All Lists]
Advanced

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

Re: syntax of numeric variables


From: Germain G. Ivanoff-Trinadtzaty
Subject: Re: syntax of numeric variables
Date: Fri, 6 Jul 2007 13:12:40 +0200

Rune Zedeler a écrit:
before = 14
after = 10
\markup { \with-dimensions #'(0 . 0) #'(-10 . 14) AZERTY }

The easiest is probably to use explicit cons instead of the shorthand '-notation:

\markup { \with-dimensions #(cons 0 0) #(cons (- after) before) AZERTY }

alternatively the correct mumbo-jumbo is

\markup { \with-dimensions #'(0 . 0) #`(,(- after) . ,before) AZERTY }

Thank you Rune,
Playing with those '#",`?.. drove me mad.

Germain





reply via email to

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