Martin, you're absolutely right, I should have included an attachment. Sorry for the time wastage.
Ming, try this version. It's just an idea. You might need to tweak relative positions and/or make the PostScript more elaborate to draw what you want. Cheers, Curt \version "2.13.51" \header { title = "Mary Had a Little Lamb" subtitle = \markup { "whose fish" \hspace #2 \note #"8" #1 \postscript #"0.5 setlinewidth 5 -1 moveto -15 8 -10 -7 -0.5 3 rcurveto stroke" \hspace #5 "was white as snow" } } rh = \relative c' { \time 2/4 \key c \major \clef treble e8 d c d e e e4 d8 d d4 e8 g g4 e8 d c d e e e e d d e d c2 \bar "|." } lh = \relative c { \clef bass c8 <e g> g, <e' g> c <e g> g, <e' g> b <f' g> g, <f' g> c <e g> g, <e' g> c <e g> g, <e' g> c <e g> g, <e' g> b <f' g> g, <f' g> c <e g> c4 } \score { \new PianoStaff << \new Staff { \rh } \new Staff { \lh } >> \layout { } } -----Original Message----- From: Martin Tarenskeen [mailto:m.tarensk...@zonnet.nl] Sent: Friday, September 27, 2013 12:47 AM To: Curt McDowell Cc: 'MING TSANG'; lilypond-user mailinglist Subject: RE: \path command On Thu, 26 Sep 2013, Curt McDowell wrote: > Here's something like that, but using \postscript instead of \path. I can't get \path at the right origin. It seems to ignore an initial "moveto". > Even \postscript seems to set the origin differently depending on which note the markup goes on (hence two versions of the markup below). > > > Cheers, > > Curt > > > > \version "2.13.51" (....) Hi, Thank your for posting your \postscript example. But before I was able to view the result I had some trouble copying the lilypond code to a .ly file from my e-mail client (alpine). In the end I succeeded and was able to compile the example. But it would have saved me some trouble if the example was given as an attachment to the original message. What is the recommended way to share LilyPond example code here in this mailinglist? -- MT
\version "2.13.51" \header { title = "Mary Had a Little Lamb" subtitle = \markup { "whose fish" \hspace #2 \note #"8" #1 \postscript #"0.5 setlinewidth 5 -1 moveto -15 8 -10 -7 -0.5 3 rcurveto stroke" \hspace #5 "was white as snow" } } rh = \relative c' { \time 2/4 \key c \major \clef treble e8 d c d e e e4 d8 d d4 e8 g g4 e8 d c d e e e e d d e d c2 \bar "|." } lh = \relative c { \clef bass c8 <e g> g, <e' g> c <e g> g, <e' g> b <f' g> g, <f' g> c <e g> g, <e' g> c <e g> g, <e' g> c <e g> g, <e' g> b <f' g> g, <f' g> c <e g> c4 } \score { \new PianoStaff << \new Staff { \rh } \new Staff { \lh } >> \layout { } }
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user