[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
In TabStaff, \grace with \override misbehaves when it’s the first note
From: |
Nate Whetsell |
Subject: |
In TabStaff, \grace with \override misbehaves when it’s the first note |
Date: |
Tue, 20 Jul 2021 07:14:25 -0400 |
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'
}
}
% But when something precedes the grace note, font size increases as expected.
\score {
\new TabStaff {
r \grace { \override TabNoteHead.font-size = #3 c' \revert
TabNoteHead.font-size } d'
}
}
```
(I also tried this using the latest version from the Git repo, and the behavior
is the same.)
All the best,
Nate
- In TabStaff, \grace with \override misbehaves when it’s the first note,
Nate Whetsell <=