]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/embedded-postscript.ly
More (final) docs for music expressions.
[lilypond.git] / input / test / embedded-postscript.ly
index 6a5f10e958f4b8d2983038a23c441472a44d2f14..8dbbdc254e5d14bc3edc148e0cfde200a523ccab 100644 (file)
@@ -1,24 +1,28 @@
 
-\version "2.3.22"
+\version "2.7.32"
+
+
 \header {
-  texidoc = "@cindex Embedded Postscript
-By inserting the @TeX{} command \embeddedps, you can
-insert postscript directly into the output.
 
-  "
+  texidoc = "
+
+@cindex Embedded Postscript
+
+The markup command @code{\postscript} inserts postscript directly into
+the output."
+
+}
+
+\layout {
+  line-width = 70 * 5 \pt
 }
 
-\score {
-   \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
-  }
-  \layout { linewidth = 70 * 5 \pt
-%      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
 }