3 texidoc
= "Users may define non-standard markup commands using
4 the @code{define-markup-command} scheme macro."
8 \layout { ragged-right
= ##t
}
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
))))
20 c''-
\markup \upcase #"hello world"
21 % produces a "HELLO WORLD" markup