Hi,

Are hyphens no longer required to prefix postevent tweaks?

For years I've been writing a hyphen ...

  - \tweak color #red
  \startTextSpan

... to tweak text spanners but no hyphen ...

 <c'
  \tweak color #red
  d'
  b'>4

... to tweak note heads.

As of 2.25.6, the difference between the two forms of \tweak no longer
appears necessary: globally replacing thousands of "- \tweak ..." with just
"\tweak ..." now seems to work perfectly.

This change is really great! Trying to divine (and then remember) which of
dozens of grobs are postevents (versus events?) was a pain. And the effort
now appears no longer necessary.

Is the change intentional? I must have missed it in CHANGES, and the NR
entry for \tweak
<https://lilypond.org/doc/v2.25/Documentation/notation/the-tweak-command#index-_005ctweak-1>
still
shows ...

  \relative { c'-\tweak thickness #5 ( d e f) }  % hyphen

... even though ...

  \relative { c' \tweak thickness #5 ( d e f) }  % no hyphen

... works under 2.25.6.

Thanks so much for this!

Trevor.


-- 
Trevor Bača
www.trevorbaca.com
soundcloud.com/trevorbaca

Reply via email to