|
|
GNU LilyPondWelcome to the home of the GNU Music Typesetter |
||||||||||
|
Node:Dirty tricks, Previous:Invisible grobs, Up:Tuning output Dirty tricksIt is possible to use TeX commands in the strings, but this should be
avoided because it makes it impossible for LilyPond to compute the
exact length of the string, which may lead to collisions. Also, TeX
commands won't work with direct PostScript output (see PostScript output).
a'^"3 $\\times$ \\`a deux" You can also use raw PostScript commands embedded in text scripts. This
offers ultimate flexibility, but requires you to learn PostScript.
Currently, embedded PostScript will not work with direct
PostScript output. Note that all dimensions that you use are in staff
space.
\score {
\notes \relative c'' {
a-#"\\embeddedps{3 4 moveto 5 3 rlineto stroke}"
-#"\\embeddedps{ [ 0 1 ] 0 setdash 3 5 moveto 5 -3 rlineto stroke}"
b-#"\\embeddedps{3 4 moveto 0 0 1 2 8 4 20 3.5 rcurveto stroke}"
s2
a'1
}
\paper { linewidth = 70*\staffspace }
}
|
||||||||||
|
Go back to index of LilyPond.
Please send GNU LilyPond questions and comments to lilypond-user@gnu.org. Please send comments on these web pages to lilypond@packages.debian.org Copyright (c) 1997--2001 Han-Wen Nienhuys and Jan Nieuwenhuizen. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. |
|||||||||||
This page was built from LilyPond-1.4.12 (stable-branch) by