MIDI: fix regtest failure
[lilypond/patrick.git] / input / regression / markup-user.ly
blob63b1450af00a8f8e29348595fef7a37be6f335d1
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))))
18 \score{
20 c''-\markup \upcase #"hello world"
21 % produces a "HELLO WORLD" markup
24 \layout {
25 \context {
26 \Score
27 \override PaperColumn #'keep-inside-line = ##f