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: Erik Sandberg
Subject: Re: How to embed conditional non-music code
Date: Sat, 04 Mar 2006 17:22:52 +0100
User-agent: Internet Messaging Program (IMP) 3.2.7

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) '())

(where inch-multiplier is some magic number)

Erik





reply via email to

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