Eluze <[email protected]> writes:

> Matt Cary wrote
>> The following doesn't do what I'd expect. The grace note has the large 
>> font size; I'd expect it to be its regular size (ie, small). Let me know
>> if you
>> need any more information or context.
>> 
>> \relative c' {
>>  \override NoteHead #'font-size = #1
>>  g
>>  \revert NoteHead #'font-size
>>  \slashedGrace a16( b8)
>> }
>
> I'd say with \revert you revert the override of the grace note before it has
> been used.
>
> better use \once to override the size of the g, or revert the note heads
> size after the slashed grace is done:
>
> \override NoteHead #'font-size = #4    g
> \slashedGrace                                  a16( 
> \revert NoteHead #'font-size              b8)

In this particular case, it would likely be safer to use a \tweak.
tweaks are not timing-related and thus are impervious to the quirks of
grace note timing.

-- 
David Kastrup


_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to