You could use PostScript in a markup to get the sort of line or bracket you
want. See attached.

Nick

> -----Original Message-----
> From: lilypond-user-bounces+nick.payne=internode.on....@gnu.org
> [mailto:lilypond-user-bounces+nick.payne=internode.on....@gnu.org] On
> Behalf Of till Rettig
> Sent: Tuesday, 10 March 2009 19:34
> To: lilypond-user@gnu.org
> Subject: missing feature? piano hand brackets
> 
> Hi,
> 
> from the German LilyPond-Forum (at
> http://www.lilypondforum.de/index.php?topic=234.0):
> In Piano music it is some times important to indicat that a note
> written in one staff should be played by the hand of the other staff.
> This is mostly done by a l-shaped bracket pointing towards the staff
> where the note should belong to.
> 
> See the attached pictures (first is hand drawn, second from Scriabin
> Sonate 10.
\version "2.12.2"

\header {
}

staffPiano = \new PianoStaff {
	<<
		\context Staff = "RH" { 
			\clef treble
			\key c \major
			\relative c' { g'
			}
		}
		\context Staff = "LH" { 			
			\clef bass
			\key c \major
			\relative c { ees'^\markup { 
				\postscript #"0.2 setlinewidth 1.5 0 moveto 0.5 0 rlineto stroke 2 0 moveto 0 7.5 rlineto stroke 2 6 moveto -0.5 0 rlineto stroke 2 7.5 moveto -0.5 0 rlineto stroke" }
			}
		}
	>>
}

\score {
	<<
		\staffPiano
	>>
	\layout { }
}

\paper { }

<<attachment: test7.png>>

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to