]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/markup-center-align-nocollision.ly
Imported Upstream version 2.16.0
[lilypond.git] / input / regression / markup-center-align-nocollision.ly
diff --git a/input/regression/markup-center-align-nocollision.ly b/input/regression/markup-center-align-nocollision.ly
new file mode 100644 (file)
index 0000000..bb13a4c
--- /dev/null
@@ -0,0 +1,17 @@
+\version "2.16.0"
+
+\header {
+  texidoc = "Text markup using @code{center-align} or @code{center-column} shall
+still reserve space for its whole width and not overwrite the previous stencil."
+}
+
+\markup{\left-align { AAA BB }}
+\markup{\center-align { AAA BB }}
+\markup{\right-align { AAA BB }}
+
+% Here the two center-columns should not collide with the +
+\markup \line {
+  \center-column { \line {XXX} \line {Y} }
+  "+"
+  \center-column { \line {XXX} \line {Y}}
+}