Hi Eluze, 2008/10/15 Eluze <[EMAIL PROTECTED]>: > > 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). Regards, Neil _______________________________________________ lilypond-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-user
