X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Ftest%2Fembedded-postscript.ly;h=8240c4baa7e67f61ae647fd8f517d813f5eb590f;hb=e5f65d89589039677cbd012001c6f2c07bf167fd;hp=fdc58b04c275d5ce8a85f3448c14226d0a16867f;hpb=68a168bff1fec7f8011b2afa82d4fc89182c4bf7;p=lilypond.git diff --git a/input/test/embedded-postscript.ly b/input/test/embedded-postscript.ly index fdc58b04c2..8240c4baa7 100644 --- a/input/test/embedded-postscript.ly +++ b/input/test/embedded-postscript.ly @@ -1,19 +1,28 @@ -\version "1.3.146" + +\version "2.10.0" + + \header { - texidoc = "By inserting the @TeX{} command \embeddedps, you can -insert postscript directly into the output. -TODO: make molecule-callback to do this. - " + texidoc = " + +@cindex Embedded Postscript + +The markup command @code{\postscript} inserts postscript directly into +the output." + +} + +\layout { + line-width = 70 * 5 \pt } -\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 } +\relative c'' { + a-\markup { \postscript #"3 4 moveto 5 3 rlineto stroke" } + -\markup { \postscript #"[ 0 1 ] 0 setdash 3 5 moveto 5 -3 rlineto stroke " } + + b-\markup { \postscript #"3 4 moveto 0 0 1 2 8 4 20 3.5 rcurveto stroke" } + s2 + a'1 } +