]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/markup-user.ly
Doc-es: various updates.
[lilypond.git] / input / regression / markup-user.ly
index 8c94ec6d42a93f9c8939cd5d59e6917bfd56a7e8..e9f1bba990b8bc715e4b323d6071b1bb05ba8324 100644 (file)
@@ -1,27 +1,25 @@
-
 \header {
-
-  texidoc = "Own markup commands may be defined by using the
-    @code{define-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.10.0"
+\version "2.17.6"
 
 #(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
+    }
+  }
 }
-
-