[Top][All Lists]

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

Re: fingering (/w staff-padding) + textscript and script-priority

From: Neil Puttock
Subject: Re: fingering (/w staff-padding) + textscript and script-priority
Date: Wed, 15 Oct 2008 23:17:06 +0100

Hi Eluze,

2008/10/15 Eluze <address@hidden>:
> in the score below the fingering indication of the first note (fis) can be
> written above+near the notehead using \override TextScript #'script-priority
> =#205 or higher. if it is 204 or lower, the text appears nearer to the
> staff.
> how can this be explained? - i would have expected the relation between the
> TextScript and the Fingering priority to determine which comes first?!
> what's the magic about these numbers? where am i mistaken?

It's due to the way the New_fingering_engraver works out how to
position fingerings in chords. The code which sets the positioning
overrides 'script-priority for any fingering orientated up or down.
The new value is (200 + direction * staff-position), so the `1' in
your snippet gets a new 'script-priority of (200 + 1 (UP)  * 4) = 204.

Instead of hard-coding the start value, it should be read from the
Fingering grob (so in your example, it would result in a new priority
of 14).


reply via email to

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