X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fmarkup-user.ly;h=637734706063cfddee3c1efa8055dd108ae1e425;hb=c4f84c5da3265130a60010eed5f9d32d0bc5e6e2;hp=8acadf4e6ad3b5dd9802345ff935ade6f99fb5b2;hpb=eba82770802a246bca4afab7eab1f78e84785214;p=lilypond.git diff --git a/input/regression/markup-user.ly b/input/regression/markup-user.ly index 8acadf4e6a..6377347060 100644 --- a/input/regression/markup-user.ly +++ b/input/regression/markup-user.ly @@ -1,22 +1,24 @@ \header { + texidoc = "Users may define non-standard markup commands using +the @code{define-markup-command} scheme macro." +} - texidoc = "Own markup commands may be defined by using the - @code{def-markup-command} scheme macro." +\layout { ragged-right = ##t } + - } -\version "2.1.26" % to be updated +\version "2.12.0" -#(def-markup-command (upcase paper props str) (string?) +#(define-markup-command (upcase paper props str) (string?) "Upcase the string characters. Syntax: \\upcase #\"string\"" - (interpret-markup paper props (make-simple-markup (string-upcase str)))) - -\score { - \notes { - c''-\markup \upcase #"hello world" - % produces a "HELLO WORLD" markup - } - \paper { raggedright = ##t } + (interpret-markup paper props (make-simple-markup (string-upcase str)))) + + +{ + c''-\markup \upcase #"hello world" + % produces a "HELLO WORLD" markup } + +