Hey, that's a pretty good trick. Where did you found the syntax for it? Also, do you (or if anyone knows) know the syntax for embeddedps? And what each parameter does (I'm trying to draw a glissando line)?


From: Antti Kaihola <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Trick: tilted "glissando" text
Date: Tue, 21 Sep 2004 18:43:58 +0300

I'd like to share a postscript hack I used to print the "gliss." text
under a scale passage and tilt the text according to the angle of the
scale.

You can adjust according to your layout the
- angle (here -15 degrees)
- offset (5 -2)
- scale (12.0)
- font (\CMTI12)
- text (gliss.)

Please point out if this can be done in a more elegant way. I'm not a
PostScript guru or LilyPond expert, so I don't really understand what
I'm doing... :)



\relative c' \times 8/9 {
  d'32_\markup { \postscript #"gsave
                               /CMTI12 findfont
                               5 -2 moveto
                               12.0 output-scale div
                               scalefont setfont
                               -15 rotate
                               (gliss.) show
                               grestore" }(
  c h a g f e d c)
}



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

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar � get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/




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

Reply via email to