lilypond-user
[Top][All Lists]
Advanced

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

Script-priority and vertical placement


From: Nick Payne
Subject: Script-priority and vertical placement
Date: Tue, 11 Sep 2012 17:30:42 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0

The NR states "The vertical ordering of scripts is controlled with the
'script-priority property. The lower
this number, the closer it will be put to the note."

However, in the example below, if there is a difference of one in the
fingering and stroke fingering priorities, then the fingerings on the
chord get interleaved, though on the difference in priorities I would
expect all the stroke fingering indications to be outside the fingering
indications. If I make the priorities different by five, then that makes
the order correct for the fingering on two of the three notes, and if
the priorities differ by ten, then the order is correct for all three notes.

\version "2.16.0"

fingering = {
    \set strokeFingerOrientations = #'(up)
    \set fingeringOrientations = #'(up)
    \override Fingering #'script-priority = #-99
    \override StrokeFinger #'script-priority = #-98
}

P=\rightHandFinger #1
I=\rightHandFinger #2
M=\rightHandFinger #3
A=\rightHandFinger #4

\relative c''' {
  \fingering
  <a-4-\A c,-3-\M e,-1-\I >4
    \override StrokeFinger #'script-priority = #-94
  <a-4-\A c,-3-\M e,-1-\I >
    \override StrokeFinger #'script-priority = #-89
  <a-4-\A c,-3-\M e,-1-\I >
}

Nick

Attachment: test.png
Description: PNG image


reply via email to

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