ly:default-scale: don't return SCM_BOOL_F if default_global_scale exists.
[lilypond.git] / input / regression / markup-user.ly
blob637734706063cfddee3c1efa8055dd108ae1e425
2 \header {
3 texidoc = "Users may define non-standard markup commands using
4 the @code{define-markup-command} scheme macro."
8 \layout { ragged-right = ##t }
12 \version "2.12.0"
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