lilypond-user
[Top][All Lists]
Advanced

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

Re: \tag and \tweak


From: Valentin Petzel
Subject: Re: \tag and \tweak
Date: Fri, 26 Nov 2021 19:36:59 +0100

Hello Werner,

Tag adds a property to music events, as does tweak. So there is no tweak event 
that could be tagged. But what would be possible is to write a music function 
that removes tweaks from a even if it is (or is not) tagged with some tag.

Cheers,
Valentin

Am Freitag, 26. November 2021, 19:21:50 CET schrieb Werner LEMBERG:
> This time a syntax question: Is it possible to combine `\tag` with
> `\tweak`?  I have tried the following:
> 
>   g-\tag #'score \tweak X-offset #-3
>                  _\markup { "foo" } |
> 
> However, this makes the `\markup` disappear if `\keepWithTag` doesn't
> contain `#'score` (which is kind-of logical).
> 
> In case there isn't a nifty trick I will prepare a patch for NR to
> explicitly state that `\tag` doesn't work with `\tweak`.
> 
> 
>     Werner

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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