X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fmarkup-user.ly;h=8c4afdf6acc504826de2e4a1b121bf98998b491b;hb=37b502a6f5030f9801a070f3aa68be08b4024350;hp=1a12d9a059d294d46ff632574dcb77f0f9924702;hpb=3684e949054183e4a31e17f5e7ab0bf30da0123e;p=lilypond.git diff --git a/input/regression/markup-user.ly b/input/regression/markup-user.ly index 1a12d9a059..8c4afdf6ac 100644 --- a/input/regression/markup-user.ly +++ b/input/regression/markup-user.ly @@ -1,22 +1,31 @@ \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.2.0" % to be updated +\version "2.14.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)))) + (interpret-markup paper props (make-simple-markup (string-upcase str)))) + +\score{ + { + c''-\markup \upcase #"hello world" + % produces a "HELLO WORLD" markup + } -\score { - \notes { - c''-\markup \upcase #"hello world" - % produces a "HELLO WORLD" markup + \layout { + \context { + \Score + \override PaperColumn #'keep-inside-line = ##f } - \paper { raggedright = ##t } + } + }