I couldn't figure out how
to use extra-offset in the function (I'm very new at this, clearly...).


Not so easy with "extra-offset" indeed, because the syntax
   #'extra-offset = #'($offsetX  $offsetY ) doen't work .
(don't know why !?!)
It seems to  work with the cons syntax


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
fingerOffset = #(define-music-function (parser location offsetX offsetY) (number? number?)
  #{
\once \override Voice.Fingering #'extra-offset = #(cons $offsetX $offsetY )
  #})


\relative c''' {
   \override Fingering #'staff-padding = #'()
   \set fingeringOrientations = #'(down)
\fingerOffset #0.7 #-3.5
  <c-4>4
\fingerOffset #'0.7 #'0.0
  <g-3>
\fingerOffset #'0.7 #'3.0
  <d-2>2
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


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

Reply via email to