lilypond-user
[Top][All Lists]
Advanced

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

Re: \path command


From: MING TSANG
Subject: Re: \path command
Date: Thu, 26 Sep 2013 04:14:52 -0700 (PDT)

Curt,

Thank you for postscript code. Wow, wonderful. My plan is not to use it with score pitch (note). It was intended as sort of a logo to put it onto the \header. I can use fishA or fishB for that purpose.  If an eye present in the fish (use eight-note) will be perfect.
Emanuel,
Ming. 


From: Curt McDowell <address@hidden>
To: 'MING TSANG' <address@hidden>
Cc: address@hidden
Sent: Thursday, September 26, 2013 5:04:15 AM
Subject: RE: \path command

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
Sent: Tuesday, September 24, 2013 6:49 AM
To: Robin Bannister; David Nalesnik
Cc: address@hidden
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 <address@hidden>
To: MING TSANG <address@hidden>; David Nalesnik <address@hidden>
Cc: address@hidden
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



reply via email to

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