Ryan & Mark,

I am glad that there's a use for this! I posted it originally, but it looks like you want it slightly different. Here's the code to do exactly what you showed in the picture:

\version "2.18.2"

rhMark = \markup { \concat { \path #0.1 #'((moveto 0 -1.75)(rlineto 0.5 0)(rlineto 0 4.25)(rlineto -0.5 0)) \override #'(font-encoding . latin1) \italic " RH" }
}

lhMark = \markup { \concat { \path #0.1 #'((moveto 0 0.75)(rlineto 0.5 0)(rlineto 0 -3.25)(rlineto -0.5 0)) \override #'(font-encoding . latin1) \lower #1.25 \italic " LH" }
}

\new Staff \relative c, {
 \clef bass
 \set fingeringOrientations = #'(right)
<e f bes\finger \lhMark e\finger \rhMark g b! dis>1\arpeggio }



The numbers that are highlighted control the position of the RH and LH text

HTH,
Abraham

On Fri, Nov 7, 2014 at 11:27 AM, Mark Stephen Mrotek <[email protected]> wrote:
Ryan,

A discussion of this is at:
http://lilypond.1069038.n5.nabble.com/Left-hand-right-hand-editorial-annotat
ion-td161987.html

Below is a code to do this, I cannot remember who produced it and posted it
on the list.

% 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"}
}

Mark


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
Ryan McClure
Sent: Friday, November 07, 2014 10:02 AM
To: [email protected]
Subject: Vertical brackets with text around chords

I'm engraving music for a client and am currently working on the piano part. He has a chord in one voice that he brackets what hands should play what
notes. How exactly could I make this work in LilyPond 2.18?
<http://lilypond.1069038.n5.nabble.com/file/n168519/piano.jpg>
Thanks all!



-----
Ryan McClure

Music Education Major, Shepherd University Luna Music Engraving
www.lunamusicengraving.com
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Vertical-brackets-with-text-around-cho
rds-tp168519.html
Sent from the User mailing list archive at Nabble.com.

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user


_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to