lilypond-user
[Top][All Lists]
Advanced

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

Re: Glissando


From: Mats Bengtsson
Subject: Re: Glissando
Date: Fri, 03 Dec 2004 10:41:57 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913

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

Brett Duncan wrote:
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
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================




reply via email to

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