Jump to content

Placement of right-hand fingerings: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
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
Line 1: Line 1:
It is possible to exercise greater control over the placement of right-hand fingerings by setting a specific property, as demonstrated in the following example.
It is possible to exercise greater control over the placement of right-hand fingerings by setting a specific property, as demonstrated in the following example.


<lilypond version="2.24.0">
<lilypond version="2.24">
#(define RH rightHandFinger)
#(define RH rightHandFinger)



Revision as of 18:55, 16 November 2025

It is possible to exercise greater control over the placement of right-hand fingerings by setting a specific property, as demonstrated in the following example.

\version "2.24"

#(define RH rightHandFinger)

\relative c {
  \clef "treble_8"

  \set strokeFingerOrientations = #'(up down)
  <c\RH 1 e\RH 2 g\RH 3 c\RH 4 >4
  
  \set strokeFingerOrientations = #'(up right down)
  <c\RH 1 e\RH 2 g\RH 3 c\RH 4 >4
  
  \set strokeFingerOrientations = #'(left)
  <c\RH 1 e\RH 2 g\RH 3 c\RH 4 >2
  
  \set strokeFingerOrientations = #'(right)
  c\RH 1
}