lilypond-user
[Top][All Lists]
Advanced

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

Re: variable and tie


From: David Kastrup
Subject: Re: variable and tie
Date: Wed, 09 May 2018 10:45:31 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Gianmaria Lari <address@hidden> writes:

> On 13 April 2018 at 09:13, David Kastrup <address@hidden> wrote:
>
>> Gianmaria Lari <address@hidden> writes:
>> >
>> > At the moment I do this
>> >
>> > \version "2.19.81"
>> > var = {a b \tag #'lastnote a}
>> > {\removeWithTag #'lastnote \var a ~ a}
>> >
>> > but I would like to know if there are other solution (maybe better?).
>>
>> 2.21.0 (current master) accepts it as-is.
>>
>> --
>> David Kastrup
>>
>
> What about this David:
>
> \version "2.19.81"
> var = {a b c d}
> {\var( \var )}
>
>
> Will it work in the future?

PNG image

Probably not what you had in mind.  ( and ) are not treated differently:
they are attached to the last note of a preceding phrase, similarly any
other post-event.  But you could probably write

{<>( \var \var )}

instead to get what I presume to be the desired effect.

-- 
David Kastrup

reply via email to

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