lilypond-user
[Top][All Lists]
Advanced

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

Re: Variables as variables


From: Johan Vromans
Subject: Re: Variables as variables
Date: Mon, 20 Jan 2014 22:37:50 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

Josiah Boothby <address@hidden> writes:

> Would not a more canonical way be to use tags? Not as elegant maybe,
> but:
>
> aaa = { 
>   \tag #'first { c4 d e f }
>   \tag #'second { f4 e d c }
> } 
>
> bbb = { 
>   a4 a a a 
>   s4*4 
>   b4 b b b 
> }
>
> \score { << \bbb { s4*4 \keepWithTag #'first \aaa } >> }
>
> \score { << \bbb { s4*4 \keepWithTag #'second \aaa } >> }

I already use tags extensively, so I'd need \keepWithTag /
\removeWithTag for most/several/all combinations of tags.

Yes, it can be done...

-- Johan



reply via email to

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