[Top][All Lists]

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

Re: font size override and grace notes

From: David Kastrup
Subject: Re: font size override and grace notes
Date: Thu, 18 Oct 2012 09:52:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

Eluze <address@hidden> 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

reply via email to

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