lilypond-user
[Top][All Lists]
Advanced

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

Re: syntax of numeric variables


From: Rune Zedeler
Subject: Re: syntax of numeric variables
Date: Fri, 06 Jul 2007 03:28:32 +0200
User-agent: Thunderbird 1.5.0.12 (X11/20070604)

Germain G. Ivanoff-Trinadtzaty skrev:
Hi,
In the following code:
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 }

-Rune




reply via email to

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