lilypond-user
[Top][All Lists]
Advanced

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

Re: tie & tag


From: Gianmaria Lari
Subject: Re: tie & tag
Date: Thu, 21 Nov 2019 18:41:10 +0100



On Thu, Nov 21, 2019, 5:35 PM David Kastrup <address@hidden> wrote:
Gianmaria Lari <address@hidden> writes:

> I would expect this code
>
>
> \version "2.21.00"
> test = {\tag #'first c'
>         \tag #'second e'}
> \keepWithTag #'first {\test~\test}
> \keepWithTag #'second {\test~\test}
>
> ... generates two scores
>
> c~c
>
> and
>
> e~e
>
> but it doesn't! It generates
>
> c c
>
> and
>
> e~e
>
> Why no ties in the first score?

Why would there be a tie?  This is:

\keepWithTag #'first {\tag #'first c' \tag #'second e'~ ... }

Uhm... Ok. The tie is a postevent attached only to e.

> Any "fix"?

{ \keepwithTag #'first \test ~ \keepwithTag #'first \test }

No, I can't do like this in the code I have.
But I remember something about push tag that maybe could work. 
Now I can't try, I'll do it later and I if I found something useful I'll post it here.

Thank you David



--
David Kastrup



reply via email to

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