Quoting Rune Zedeler <[EMAIL PROTECTED]>:

Eric Knapp skrev:

I want the numbers 7, 7, 3, 5, 3, and 5 to be the same vertically.

Lily has hugeproblems with vertical alignment - it usually takes a lot of hacking.

Not at all! It usually helps to set the staff-padding property
large enough, so that no number ends up so close to a note that it's moved away extra. Try
\override Fingering #'staff-padding = #3.0
(the default value is 0.5)
You may also want to reduce the padding property so that a note can get closer to the number without moving it:
\override Fingering #'staff-padding = #0.0

  /Mats

In your case, the easiest is probably to put the numbers into a lyrics-context:

<<
  \new Staff {
    \set fingeringOrientations = #'(left)
    <c-1>8 <d'-2>8 <a-3>2 <g-4>4
  }
  \addlyrics{
    \override LyricText #'font-size = #-1
    "1" "4" "3" "5"
  }
>>

Alternatively one has to define his own context into which the scripts go. See the section "Piano centered dynamics" in the manual just to see how non-trivial this is. If you want me to I will try and make a template where the scripts go into their own context and thereby are vertically aligned.

-Rune


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






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

Reply via email to