lilypond-user
[Top][All Lists]
Advanced

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

Re: Fingering Instructions


From: Cameron Horsburgh
Subject: Re: Fingering Instructions
Date: Mon, 27 Mar 2006 20:46:09 +1100
User-agent: Mail/News 1.5 (X11/20060228)

Kamal wrote:
> Hello,
> In the following code, I need the fingering instructions to be on the
> left of every note, so I use  " \set fingeringOrientations = #'(left)".
> This works fine with the first couple of notes, but afterwards, the
> finger numbers begin reappearing above the note which is the default
> behaviour ( Note <e'-2>8 ). Is there any  reason for that?
>  
> Thank you

The problem is that the setting you've used only applies to the first
voice, and dies when that voice dies. You can either perform a few
tricks to keep voice contexts alive, or the easier way is to move the
Fingering_engraver from Voice to Staff:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\score {
  \relative {
    \partial 2.
    << { a'8[ b] c[ d] e[ f] } \\
       { r4 r2 }
    >>
    |
   \set Staff.fingeringOrientations = #'(left)
      << { <d-4>2. c8 b } \\
         { d,[ e] f[ g] a2 }
      >>
     |
      << { <c-1>4 <a-3>2. } \\
         { a,2 <e'-2>8( d) e4 }
      >>
}
  \layout{
    \context{
      \Voice
      \remove "Fingering_engraver"
    }
    \context{
      \Staff
      \accepts "Fingering_engraver"
    }
  }
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


Cameron





reply via email to

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