X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fmarkup-user.ly;h=e9f1bba990b8bc715e4b323d6071b1bb05ba8324;hb=2fecabf3a5cb332c78b58b02f78c7c64d5c89c19;hp=efe2b07671d98e55a24368fcb381d9181ce80eef;hpb=34eb783cd6b1af2fd7cf2c573ec9dc7e9d16e7f7;p=lilypond.git diff --git a/input/regression/markup-user.ly b/input/regression/markup-user.ly index efe2b07671..e9f1bba990 100644 --- a/input/regression/markup-user.ly +++ b/input/regression/markup-user.ly @@ -1,22 +1,25 @@ - \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.6.0" % to be updated +\version "2.17.6" -#(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 in upper case" + } -\score { - { - c''-\markup \upcase #"hello world" - % produces a "HELLO WORLD" markup + \layout { + \context { + \Score + \override PaperColumn.keep-inside-line = ##f } - \layout { raggedright = ##t } + } }