]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/markup-user.ly
Imported Upstream version 2.16.0
[lilypond.git] / input / regression / markup-user.ly
index 7afff8e9fcc2fee5e78f758d575210600291e19c..24a4fe4b8b568851bd116a70a0eab4e7d33eb172 100644 (file)
@@ -1,22 +1,31 @@
 
 \header {
+  texidoc = "Users may define non-standard markup commands using
+the @code{define-markup-command} scheme macro."
+}
 
-    texidoc = "Own markup commands may be defined by using the
-    @code{def-markup-command} scheme macro."
 
+\layout { ragged-right = ##t }
+  
 
-      }
 
-\version "2.1.28" % to be updated
+\version "2.16.0"
 
-#(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"
+                               % produces a "HELLO WORLD" markup
+  }
 
-\score { 
-    \notes { 
-        c''-\markup \upcase #"hello world"
-        % produces a "HELLO WORLD" markup
+  \layout {
+    \context {
+      \Score
+      \override PaperColumn #'keep-inside-line = ##f
     }
-    \paper { raggedright = ##t }
+  }
+
 }