lilypond-user
[Top][All Lists]
Advanced

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

Re: if/then/else in Lilypond with config file


From: Johan Vromans
Subject: Re: if/then/else in Lilypond with config file
Date: Fri, 16 Jan 2015 08:23:24 +0100

> Is there a possibility to do something like this?
>
>     if( custom_cfg_flag)
>     {
>         % default score combination
>         % (e.g. with header and chords)
>     }
>     else
>     {
>         % some other combination
>         % (e.g. only melody)
>     }

If having defined a LP variable counts as custom_cfg_flag, the attached
files may be useful.

-- Johan

Attachment: ifdefined.ly
Description: Text Data

Attachment: ifthenelse.ly
Description: Text Data


reply via email to

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