[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-bug
Subject:    Re: In TabStaff, \grace with \override misbehaves when =?utf-8?Q?it=E2=80=99s?= the first note
From:       David Kastrup <dak () gnu ! org>
Date:       2021-07-20 12:40:07
Message-ID: 875yx5duqg.fsf () fencepost ! gnu ! org
[Download RAW message or body]

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

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic