Jump to content

Fingering under bow on a trill: Difference between revisions

From LilyPond wiki
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
No edit summary
Line 37: Line 37:


[[Category:Expressive marks]]
[[Category:Expressive marks]]
[[Category:Editorial annotations]]
[[Category:Editorial annotations]][[Category:Snippet]]

Revision as of 22:53, 21 November 2025

Usage as pseudocode: { note [script] \fingertrill [direction] "fingers" }

\version "2.24"

%% See also: https://lilypond.community/t/ligature-sur-doigte-de-trille/5581

\paper { tagline = ##f }

fingertrill =
#(define-event-function (dir fingers) ((ly:dir? UP) string?)
#{
  \tweak parent-alignment-X #0
  \tweak self-alignment-X #0
  \tweak direction $dir
  -\markup \tie \finger $fingers
#})

{
  \cadenzaOn
  \acciaccatura f''8 e''4 \fingertrill "21"
  s2.
  \acciaccatura f''8 e''4\prallprall \fingertrill "2121"
  s2.
  \override Script.outside-staff-priority = #0
  \acciaccatura f''8 e''4\trill \fingertrill "3121"
}

{
  \cadenzaOn
  \acciaccatura f''8 e''4 \fingertrill #-1 "21"
  s2.
  \acciaccatura f''8 e''4_\prallprall \fingertrill #-1 "2121"
  s2.
  \override Script.outside-staff-priority = #0
  \acciaccatura f''8 e''4_\trill \fingertrill #-1 "3121"
}