]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/text-script-vertical-skylines.ly
Imported Upstream version 2.18.0
[lilypond.git] / input / regression / text-script-vertical-skylines.ly
diff --git a/input/regression/text-script-vertical-skylines.ly b/input/regression/text-script-vertical-skylines.ly
new file mode 100644 (file)
index 0000000..3657bc2
--- /dev/null
@@ -0,0 +1,23 @@
+\version "2.17.21"
+
+\header {
+  texidoc = "@code{TextScript}s are spaced closely, following outlines of
+the stencil.  When markup commands like @code{pad-around} and
+@code{with-dimensions} change the extent of a stencil, these changed
+extents have effect in the stencil outline used to place the resulting
+@code{TextScript}."
+}
+
+{
+  g'2^\markup { g \line {. . . .} }
+  e'^\markup { e }
+
+  g'2^\markup { g \transparent \line {. . . .} }
+  e'^\markup { e }
+
+  g'2^\markup { g \pad-around #0.5 \line{. . . .} }
+  e'^\markup { e }
+
+  g'2^\markup { g \with-dimensions #'(-0 . 0) #'(-0 . 0) \line {. . . .} }
+  e'^\markup { e }
+}