lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RH separation mark


From: Edward Neeman
Subject: RH separation mark
Date: Mon, 20 Aug 2012 10:01:18 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:14.0) Gecko/20120713 Thunderbird/14.0

Hello,

I need to indicate that a note should be played with the right hand in a two-voice piano texture. I'm using an L shape mark, like this:

\version "2.14.2"

noteText = {
  \once \override TextScript #'Y-extent = #'(3 . -3)
  \once \override TextScript #'padding = #-0.5
  \once \override TextScript #'staff-padding = ##f
}

RH = #'((moveto -0.5 0) (lineto -1 0) (lineto -1 2))


\relative c' {
  << { \noteText b'4 ^\markup { \path #0.1 #RH } } \\
     { e,2 }
  >>
}

How would I combine the two commands, noteText and RH, into a single command?

Thanks!
Edward



reply via email to

[Prev in Thread] Current Thread [Next in Thread]