Hi,

I've been setting some music for a colleague, but he'd like to see
'gliss' appear over at least the first gliss line in the piece, or else a "trill" style gliss. (Is there a trill style for gliss lines? I've only seen "zigzag" as an alternative to "line" in the example files.)


I've looked in the archives, but can't quite seem to get what I've found
to work.

On 5/10/04, Antti Kaihola wrote:

I also did glissando lines with postscript. Here's some code:

I needed straight glissando lines which end on the barline and not on
the first note of the next bar. Due to automatic spacing, the width of
the line has to vary, and the first glissando of the piece should have
the text "gliss" next to it.

So I defined these symbols:

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


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


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


Then I just use c\glisslinescript d\glissline e\glisslinewide to attach
glissando lines to notes. I also use some extra-offset for the line to
make it fit the music perfectly.

This doesn't work for me (I'm using version 2.2.2). I get an error about \postscript not being recognised.

Can someone point me in the right direction?

Brett Duncan



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

Reply via email to