On 21 March 2010 13:08, Morten <[email protected]> wrote:
> The \finger apparently ensures the correct font, but is there some command
> to make it "behave" or position itself like a fingering instruction?
Use the 'tweaks property to override the Fingering stencil:
underlineFinger =
#(define-music-function (parser location finger) (integer?)
(let ((music (make-music 'FingeringEvent)))
(set! (ly:music-property music 'digit) finger)
(set! (ly:music-property music 'tweaks)
(acons 'stencil (lambda (grob)
(grob-interpret-markup
grob
(markup #:underline (number->string finger))))
(ly:music-property music 'tweaks)))
music))
\relative c' {
c-\underlineFinger #4
}
Regards,
Neil
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user