release commit
[lilypond.git] / input / test / embedded-postscript.ly
blobb64c887993bcfb3a22b76b6bd1fc9a9a891c79e6
2 \version "2.1.7"
3 \header {
4 texidoc = "@cindex Embedded Postscript
5 By inserting the @TeX{} command \embeddedps, you can
6 insert postscript directly into the output.
13 %TODO: make molecule-callback to do this.
16 \score {
17 \notes \relative c'' {
18 a-"\\embeddedps{3 4 moveto 5 3 rlineto stroke}"
19 -"\\embeddedps{ [ 0 1 ] 0 setdash 3 5 moveto 5 -3 rlineto stroke}"
20 b-"\\embeddedps{3 4 moveto 0 0 1 2 8 4 20 3.5 rcurveto stroke}"
22 a'1
24 \paper { linewidth = 70 * \staffspace
25 % raggedright = ##t