lilypond-user
[Top][All Lists]
Advanced

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

How to embed conditional non-music code


From: Alan Stern
Subject: How to embed conditional non-music code
Date: Thu, 2 Mar 2006 21:03:18 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

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

to the \paper{} section, but only if the Scheme variable "partNum" is equal to
0.  There doesn't seem to be any way to do it.  The #{ ... #} syntax doesn't
work because it parses only music expressions.





reply via email to

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