]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/markup-user.ly
Doc-es: various updates.
[lilypond.git] / input / regression / markup-user.ly
index 586e7cb0c1123b8ea4bbebcb55da3b12f254079a..e9f1bba990b8bc715e4b323d6071b1bb05ba8324 100644 (file)
@@ -1,27 +1,25 @@
-
 \header {
-
-  texidoc = "Own markup commands may be defined by using the
-    @code{def-markup-command} scheme macro."
-
-
+  texidoc = "Users may define non-standard markup commands using
+the @code{define-markup-command} scheme macro."
 }
 
-
 \layout { ragged-right = ##t }
-  
 
+\version "2.17.6"
 
-\version "2.7.32" % to be updated
-
-#(def-markup-command (upcase paper props str) (string?)
+#(define-markup-command (upcase paper props str) (string?)
   "Upcase the string characters. Syntax: \\upcase #\"string\""
   (interpret-markup paper props (make-simple-markup (string-upcase str))))
 
-
-{ 
-  c''-\markup \upcase #"hello world"
-                               % produces a "HELLO WORLD" markup
+\score{
+  {
+    c''-\markup \upcase #"hello world in upper case"
+  }
+
+  \layout {
+    \context {
+      \Score
+      \override PaperColumn.keep-inside-line = ##f
+    }
+  }
 }
-
-