lilypond-user
[Top][All Lists]
Advanced

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

Re: Glissando


From: Brett Duncan
Subject: Re: Glissando
Date: Fri, 03 Dec 2004 21:58:05 +1100
User-agent: Mozilla Thunderbird 0.7.1 (Macintosh/20040626)

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
address@hidden






reply via email to

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