]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/markup-user.ly
Merge branch 'stable'
[lilypond.git] / input / regression / markup-user.ly
1
2 \header {
3   texidoc = "Users may define non-standard markup commands using
4 the @code{define-markup-command} scheme macro."
5 }
6
7
8 \layout { ragged-right = ##t }
9   
10
11
12 \version "2.12.0"
13
14 #(define-markup-command (upcase paper props str) (string?)
15   "Upcase the string characters. Syntax: \\upcase #\"string\""
16   (interpret-markup paper props (make-simple-markup (string-upcase str))))
17
18
19
20   c''-\markup \upcase #"hello world"
21                                 % produces a "HELLO WORLD" markup
22 }
23
24