Greetings, All!I just though I'd share a little solution I made up for piano notation when you want to indicate that a note or chord or whatever should be played by the opposite hand. It uses the "\finger" function and "\set fingerOrientations" override to place them in the right spot. There are two versions of each kind, with and without the text annotations "l.h." for "left hand" and "r.h." for "right hand". They should be easy to customize if you want to make it look different than I've done it or use text for another language other than English. This really could use a dedicated engraver, probably pulling much of the functionality from the FingeringEngraver, but this should work for most cases as it is. Enjoy!
Happy Engraving, Abraham
\version "2.18.2" % Hand indicators % Note: To use these correctly, the note MUST be part of a chord, even % if it's by itself, using, for example, the following syntax: % % \set fingeringOrientations = #'(left) % <c\finger \lhMark> % or \lhMarkText to add "l.h." to the mark % lhMarkText = \markup { \concat { \override #'(font-encoding . latin1) \italic "l.h. " \path #0.1 #'((moveto 0 -0.5)(rlineto 0 1.5)(rlineto 0.5 0)) } } rhMarkText = \markup { \concat { \override #'(font-encoding . latin1) \italic "r.h. " \path #0.1 #'((moveto 0 1)(rlineto 0 -1.5)(rlineto 0.5 0)) } } lhMark = \markup { \path #0.1 #'((moveto -1 0)(rlineto 0 1.5)(rlineto 0.5 0)) } rhMark = \markup { \path #0.1 #'((moveto -1 0)(rlineto 0 -1.5)(rlineto 0.5 0)) } \relative c'' { c4-1 d-2 \set fingeringOrientations = #'(left) <c\finger \lhMarkText f>\finger \markup \tied-lyric #"4~3" <c\finger \rhMark>\finger "2 - 3" }
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user