]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/markup-user.ly
The grand \paper -> \layout, \bookpaper -> \paper renaming.
[lilypond.git] / input / regression / markup-user.ly
1
2 \header {
3
4     texidoc = "Own markup commands may be defined by using the
5     @code{def-markup-command} scheme macro."
6
7
8       }
9
10 \version "2.3.22" % to be updated
11
12 #(def-markup-command (upcase paper props str) (string?)
13   "Upcase the string characters. Syntax: \\upcase #\"string\""
14    (interpret-markup paper props (make-simple-markup (string-upcase str))))
15
16 \score { 
17      { 
18         c''-\markup \upcase #"hello world"
19         % produces a "HELLO WORLD" markup
20     }
21     \layout { raggedright = ##t }
22 }