]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/markup-user.ly
Change keep-inside-line defaults to true.
[lilypond.git] / input / regression / markup-user.ly
index 63bf496e2a544a9561cdfbb76e489944b9c458bd..63b1450af00a8f8e29348595fef7a37be6f335d1 100644 (file)
@@ -1,27 +1,31 @@
 
 \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 { raggedright = ##t }
+\layout { ragged-right = ##t }
   
 
 
-\version "2.7.13" % to be updated
+\version "2.12.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))))
 
-
-{ 
-  c''-\markup \upcase #"hello world"
+\score{
+  {
+    c''-\markup \upcase #"hello world"
                                % produces a "HELLO WORLD" markup
-}
+  }
 
+  \layout {
+    \context {
+      \Score
+      \override PaperColumn #'keep-inside-line = ##f
+    }
+  }
 
+}