|
From: | Curt McDowell |
Subject: | RE: \path command |
Date: | Thu, 26 Sep 2013 02:04:15 -0700 |
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: address@hidden [mailto:address@hidden On Behalf Of MING TSANG Robin, Thank you for clear the undesired background. I do hope I can do this in \path command. From: Robin Bannister <address@hidden>
|
[Prev in Thread] | Current Thread | [Next in Thread] |