]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/markup-user.ly
Imported Upstream version 2.14.2
[lilypond.git] / input / regression / markup-user.ly
index be706cc4bb48be9bf47de6442cd286c522eef76d..8c4afdf6acc504826de2e4a1b121bf98998b491b 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.3.22" % to be updated
+\version "2.14.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 { 
-     { 
-        c''-\markup \upcase #"hello world"
-        % produces a "HELLO WORLD" markup
+  \layout {
+    \context {
+      \Score
+      \override PaperColumn #'keep-inside-line = ##f
     }
-    \layout { raggedright = ##t }
+  }
+
 }