You didn't manage to convert the first markup to the correct syntax.

glisslinescript = \markup{
"\\embeddedps{ 0.2 setlinewidth 1 6 moveto 3 -8 lineto stroke}" \halign #1 { \italic gliss. } }



Also, to use these definitions, you have to specify to LilyPond if you want the markup above the note: d^\glisslinescript or below: d_\glisslinescript or if you want LilyPond itself to determine: d-\glisslinescript, just as for all other text scripts.

However, I guess you will have to adjust the parameters in the
Postscript code to get what you want.

   /Mats

Brett Duncan wrote:
Mats Bengtsson wrote:

As you noted, the \postcript markup command wasn't available in
version 2.2, but you could use
\markup{ "\\embeddedps{...}" } as a replacement for
\markup{ \postscript #"..." }

/Mats


hi Mats,

I tried your suggestion, but I think I'm screwing up the syntax somewhere - here's my test file:

-------------------
\version "2.2.2"

glisslinescript = \markup{
"\\embeddedps{ 0.2 setlinewidth 1 6 moveto 3 -8 lineto stroke \halign #1 { \italic gliss. } }" }


glissline = \markup{
    "\\embeddedps { 0.2 setlinewidth 1 6 moveto 3 -8 lineto stroke }" }

glisslinewide = \markup{
    "\\embeddedps{ 0.2 setlinewidth 1 6 moveto 5.5 -8 lineto stroke }" }

\score {

\notes{
\new Staff {
\clef treble
\time 4/4
{
c1\glisslinescript d\glissline e\glisslinewide
}
}
}
\paper {
#(set-paper-size "a4")
}
}
-------------------


and the message that results:

/Users/bduncan/lilypond/glissbits.ly:19:22: error: Have to be in Lyric mode for lyrics:
c1\glisslinescript
d\glissline e\glisslinewide


(etc.)

Where have I messed up?

Brett
__________________
Brett Duncan
[EMAIL PROTECTED]



_______________________________________________
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to