X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Ftest%2Fembedded-postscript.ly;h=8240c4baa7e67f61ae647fd8f517d813f5eb590f;hb=7653e2f45f427ecb67ad8231bd5e24afb8d204e4;hp=c68128305b03ebb110958e7ace2da0b5337893b9;hpb=38bf0bef16bc2bd839f9dc488b472925eb85600a;p=lilypond.git diff --git a/input/test/embedded-postscript.ly b/input/test/embedded-postscript.ly index c68128305b..8240c4baa7 100644 --- a/input/test/embedded-postscript.ly +++ b/input/test/embedded-postscript.ly @@ -1,22 +1,28 @@ -\version "1.7.18" + +\version "2.10.0" + + \header { - texidoc = "@cindex Embedded Postscript -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 - raggedright = ##t } +\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 } -%% new-chords-done %% +