bug-lilypond
[Top][All Lists]
Advanced

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

Re: In TabStaff, \grace with \override misbehaves when it’s the first no


From: David Kastrup
Subject: Re: In TabStaff, \grace with \override misbehaves when it’s the first note
Date: Tue, 20 Jul 2021 14:40:07 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Nate Whetsell <nathan.whetsell@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



reply via email to

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