]> git.donarmstrong.com Git - lilypond.git/blob - input/test/embedded-postscript.ly
release: 1.3.145
[lilypond.git] / input / test / embedded-postscript.ly
1 \header {
2   texidoc = "By inserting the @TeX{} command \embeddedps, you can
3 insert postscript directly into the output.
4
5 TODO: make molecule-callback to do this. 
6   ";
7 }
8
9 \score {
10   \notes \relative c'' {
11     a-#"\\embeddedps{3 4 moveto 5 3 rlineto stroke}"
12     -#"\\embeddedps{ [ 0 1 ] 0 setdash 3 5 moveto 5 -3 rlineto stroke}"
13     b-#"\\embeddedps{3 4 moveto 0 0 1 2 8 4 20 3.5 rcurveto stroke}"
14     s2
15     a'1
16   }
17   \paper { linewidth = 70 * \staffspace; }
18 }