lilypond-user
[Top][All Lists]
Advanced

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

Re: using \pushToTag and \removeWithTag consecutively


From: David Kastrup
Subject: Re: using \pushToTag and \removeWithTag consecutively
Date: Sat, 14 Apr 2018 15:46:11 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Gianmaria Lari <address@hidden> writes:

> I found a not nice solution but something that work....:
>
> \version "2.19.81"
> var = {a \tag #'herea {} \tag #'hereb {b} a}
> {\pushToTag #'herea b! \removeWithTag #'hereb \var}

I'd write

var = {a \tag #'herea {\tag #'hereb {b}} a}

instead since it makes the relations a bit clearer.  Though I am not
completely sure whether \removeWithTag is not coded in a way where it
will ripple through the then empty sequential expression so that you'd
need to first do the \pushToTag (namely write it second).

-- 
David Kastrup



reply via email to

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