lilypond-user
[Top][All Lists]
Advanced

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

Re: Trill notation with fingering


From: address@hidden
Subject: Re: Trill notation with fingering
Date: Sun, 3 Apr 2011 20:29:16 -0400

On Apr 3, 2011, at 7:31 PM, Javier Ruiz-Alma wrote:

Any ideas as to how best to approximate the trill plus fingering notiation as shown in this image?
The closest I can get is:
 
a2.\trill^markup{\finger "3 2"}
 
However, this doesn't show the cap over the digits, plus lilypond seems to always try to display the "tr" symbol at the very top, no matter what order the modifiers are listed after the note.
 
Thx, Javier
<original_fingered_trill.gif>_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

Just realized that this is better...

#(define-markup-command (up-tied-lyric layout props a b)
  (markup? markup?)
  (let*
          ((tie-str (ly:wide-char->utf-8 #x2040))
           (joined  (list-join `(,a ,b) tie-str))
           (join-stencil (interpret-markup layout props tie-str))
           )

        (interpret-markup layout
                          (prepend-alist-chain
                           'word-space
                           (/ (interval-length (ly:stencil-extent join-stencil X)) -3.5)
                           props)
                          (make-line-markup joined))))


{ \once \override Staff . Script #'outside-staff-priority = #0
a'2.\trill^\markup{ \up-tied-lyric \finger 3 \finger 2 }}


Cheers,
Mike

reply via email to

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