X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=scm%2Fdefine-markup-commands.scm;h=778569f3d33c25081a0a158493c5e1837688fe2d;hb=c7859653d9e011b140088a39ed1eb2c013b6c0b9;hp=68acb63ef6037302530b919ea872f6ea97d815aa;hpb=338ddfdb1451f099f60b8da97a957c99696eb71c;p=lilypond.git diff --git a/scm/define-markup-commands.scm b/scm/define-markup-commands.scm index 68acb63ef6..778569f3d3 100644 --- a/scm/define-markup-commands.scm +++ b/scm/define-markup-commands.scm @@ -1193,7 +1193,7 @@ of the @code{#'direction} layout property. (let* ((aligned-mols (map (lambda (x) (ly:stencil-aligned-to x X align-dir)) mols))) (stack-lines -1 0.0 baseline aligned-mols))) -(define-builtin-markup-command (center-align layout props args) +(define-builtin-markup-command (center-column layout props args) (markup-list?) align ((baseline-skip)) @@ -1204,7 +1204,7 @@ Put @code{args} in a centered column. @lilypond[verbatim,quote] \\markup { - \\center-align { + \\center-column { one two three @@ -1273,7 +1273,7 @@ Align @code{arg} to its Y@tie{}center. (let* ((mol (interpret-markup layout props arg))) (ly:stencil-aligned-to mol Y CENTER))) -(define-builtin-markup-command (hcenter layout props arg) +(define-builtin-markup-command (center-align layout props arg) (markup?) align () @@ -1286,7 +1286,7 @@ Align @code{arg} to its X@tie{}center. \\markup { \\column { one - \\hcenter + \\center-align two three } @@ -1568,7 +1568,7 @@ Add padding @var{amount} around @var{arg} in the X@tie{}direction. (make-pad-to-box-markup (cons (/ length -2) (/ length 2)) '(0 . 0) - (make-hcenter-markup arg)))) + (make-center-align-markup arg)))) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; property