|
From: | Jonathan Kulp |
Subject: | Re: Two questions about fingering indications |
Date: | Tue, 16 Sep 2008 08:36:28 -0500 |
User-agent: | Thunderbird 2.0.0.16 (X11/20080724) |
Hi Nick,I saw that someone else answered the second question about the b-naturals (just be sure to remove the ! from both voices).
Here's a quick fix for the right-hand fingering that will work for this example, but it's kind of crude and not overly flexible. To position individual fingerings in a score you'll need to use something like \tweak or \once \override with extra-offset instead of an \override StrokeFinger staff padding like I did here. I always use \tweak and extra-offset adjustments for very precise placement of fingerings.
I don't know of a way to use the set fingeringorientations without a <> chord construct. It's a pain but it works very well.
Here's the relevant snippet of code that puts the r.h.fingerings above the beam. You can adjust the value to suit your preference:
% Treble voice #(define RH rightHandFinger) up = \relative c' { \set fingeringOrientations = #'(left) \set strokeFingerOrientations = #'(up) \override StrokeFinger #'staff-padding = #'4.4 % HERE IT IS \set tupletSpannerDuration = #(ly:make-moment 1 4) \times 4/6 { \override Fingering #'staff-padding = #'() <c-1-\RH #1 >16 <g'-0-\RH #2 > <aes'-4-\RH #4 >-> <ees-3-\RH #3 > <g-2-\RH #4 >-> <g,-0-\RH #2 > c, g' aes'-> ees g-> g, | % 1<b,!-1> <g'-0> <aes'-4>-> <d,-3> <g-2>-> <g,-0> b, g' aes'-> d, g-> g, | % 2 <d-0> <g-0> <g'-3>-> <b,!-0> <f'-1>-> <g,-0> d g g'-> b, f'-> g, | % 3
} } Jon Nick Payne wrote:
I have the following code (it's the first couple of measures of Barrios' prelude in C minor). Firstly, with the RH fingering, some of the indications appear above the beam and some below, depending on where on the stave each note is located. How can I get them to all be above the beam? Secondly, with the LH fingering, I can only get the orientation to the left of the notehead to stick by enclosing every note with a fingering indication inside chord symbols, otherwise the fingering appears above the stems. How do I get the fingering orientation to default to being to the left of the notehead for notes that are not chorded? Also, Lilypond puts a natural symbol against both b naturals in bar 2, when only the first symbol is required. \version "2.11.58" % Treble voice #(define RH rightHandFinger) up = \relative c' { \set fingeringOrientations = #'(left) \set strokeFingerOrientations = #'(up) \set tupletSpannerDuration = #(ly:make-moment 1 4) \times 4/6 { \override Fingering #'staff-padding = #'() <c-1-\RH #1 >16 <g'-0-\RH #2 > <aes'-4-\RH #4 >-> <ees-3-\RH #3 > <g-2-\RH #4 >-> <g,-0-\RH #2 > c, g' aes'-> ees g-> g, | <b,!-1> <g'-0> <aes'-4>-> <d,-3> <g-2>-> <g,-0> b,! g' aes'-> d, g-> g, | } } % Bass voice down = \relative c' { c4 c | % 1 b! b! | % 2 } \score { { \clef treble \key c \minor \time 2/4 \tempo "Moderato" \override Staff.NoteCollision #'merge-differently-headed = ##t \context Staff << \new Voice { \voiceOne \up } \new Voice { \voiceTwo \down } >> } \layout { } \midi { } } Nick _______________________________________________ lilypond-user mailing list address@hidden http://lists.gnu.org/mailman/listinfo/lilypond-user
-- Jonathan Kulp http://www.jonathankulp.com
[Prev in Thread] | Current Thread | [Next in Thread] |