Nate Whetsell <nathan.whets...@gmail.com> writes:

> Hi there,
>
> Thanks for all your work on LilyPond!
>
> In a TabStaff, if a grace note is the first note and the \grace contains 
> overrides, the overrides seem to be applied to whatever follows the grace 
> note (instead of the grace note itself). Here’s an example that illustrates 
> the behavior:
>
> ```
> \version "2.22.1"
>
> % Font size is unexpectedly increased for what follows the grace note.
> \score {
>   \new TabStaff {
>       \grace { \override TabNoteHead.font-size = #3 c' \revert 
> TabNoteHead.font-size } d'
>   }
> }

Do not pair \override and \revert.  Instead pair \temporary \override
with \revert.  Otherwise you may get interactions with outer overrides,
and grace notes do come with their own set of overrides.

-- 
David Kastrup

_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to