lilypond-user
[Top][All Lists]
Advanced

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

Re: Accidentals and Fingerings


From: Nick Payne
Subject: Re: Accidentals and Fingerings
Date: Sun, 31 Jan 2010 08:25:32 +1100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091229 Thunderbird/3.0

I don't know why the inconsistency happens, but if you add \override Fingering #'script-priority = #-101 to each voice, then the offset from the notehead will be consistent:

\version "2.13.11"

\include "english.ly"

fingers = {
 \relative c {
<ds-1 a'-3>4 r r2
<fs-3 a!-1 d-2>4 r r2
 }
}

thumb = {
 \relative c {
<b-2>4 r r2
<b-1>4 r r2
 }
}

\score {
 \new Staff = "Guitar" {
   \clef "treble_8"
   \key d \major
   \time 4/4
<<
     \new Voice = "fingers" {
   \voiceOne
   \set fingeringOrientations = #'(left)
   \override Fingering #'font-size = #-6
   \override Fingering #'script-priority = #-101
   \fingers
     }
     \new Voice = "thumb" {
   \voiceTwo
   \set fingeringOrientations = #'(left)
   \override Fingering #'font-size = #-6
   \override Fingering #'script-priority = #-101
   \thumb
     }
>>
 }
}

Nick

Attachment: test.preview.png
Description: PNG image


reply via email to

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