lilypond-user
[Top][All Lists]
Advanced

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

Re: How to embed conditional non-music code


From: Nicolas Sceaux
Subject: Re: How to embed conditional non-music code
Date: Sun, 05 Mar 2006 11:50:02 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin)

Erik Sandberg <address@hidden> writes:

> Citerar Alan Stern <address@hidden>:
>
>> How can I make a non-music part of my .ly file conditional?  For example,
>> suppose I want to add something like
>> 
>>     between-system-padding = 0.3 \in
>
> did you try something like this?
>
> between-system-padding = #(if (eq? partNum 0) (* 0.3 inch-multiplier) '())

To the OP: use (= partNum 0), not eq?.

nicolas




reply via email to

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