]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/markup-user.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / input / regression / markup-user.ly
index f5e3909bfeb4c3e1303b9359adb7ecdac0d77384..e9f1bba990b8bc715e4b323d6071b1bb05ba8324 100644 (file)
@@ -1,22 +1,25 @@
-
 \header {
+  texidoc = "Users may define non-standard markup commands using
+the @code{define-markup-command} scheme macro."
+}
 
-    texidoc = "Users may define their own markup commands using the
-    @code{def-markup-command} scheme macro."
-
-
-      }
+\layout { ragged-right = ##t }
 
-\version "2.1.22" % to be updated
+\version "2.17.6"
 
-#(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))))
+  (interpret-markup paper props (make-simple-markup (string-upcase str))))
+
+\score{
+  {
+    c''-\markup \upcase #"hello world in upper case"
+  }
 
-\score { 
-    \notes { 
-        c''-\markup \upcase #"hello world"
-        % produces a "HELLO WORLD" markup
+  \layout {
+    \context {
+      \Score
+      \override PaperColumn.keep-inside-line = ##f
     }
-    \paper { raggedright = ##t }
+  }
 }