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"
\header {
title = "Mary Had a Little Lamb"
}
fishA = \markup {
\postscript #"0.5 setlinewidth 5 0 moveto -7 6 -10 -7 -0.5 3 rcurveto
stroke"
}
fishB = \markup {
\postscript #"0.5 setlinewidth 5 -1 moveto -7 6 -10 -7 -0.5 3 rcurveto
stroke"
}
rh = \relative c' {
\time 2/4 \key c \major \clef treble
e8 d c-\fishB d e e e4
d8 d d4 e8 g g4
e8 d c d e e e e-\fishA
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,-\fishA <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 { }
}
From: [email protected]
[mailto:[email protected]] On Behalf Of
MING TSANG
Sent: Tuesday, September 24, 2013 6:49 AM
To: Robin Bannister; David Nalesnik
Cc: [email protected]
Subject: Re: \path command
Robin, Thank you for clear the undesired background. I do hope I can do
this in \path command.
_____
From: Robin Bannister <[email protected]>
To: MING TSANG <[email protected]>; David Nalesnik
<[email protected]>
Cc: [email protected]
Sent: Tuesday, September 24, 2013 9:34:14 AM
Subject: Re: \path command
MING TSANG wrote:
> works fine except I have undesired background image
Here is a black & white version.
Cheers,
Robin
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user