]> git.donarmstrong.com Git - lilypond.git/commitdiff
Add regression test for 'toward-stem-shift property
authorMaximilian Albert <cilix@dike.(none)>
Fri, 12 Dec 2008 23:42:22 +0000 (00:42 +0100)
committerNeil Puttock <n.puttock@gmail.com>
Thu, 18 Dec 2008 21:35:19 +0000 (21:35 +0000)
input/regression/script-shift.ly [new file with mode: 0644]

diff --git a/input/regression/script-shift.ly b/input/regression/script-shift.ly
new file mode 100644 (file)
index 0000000..646096a
--- /dev/null
@@ -0,0 +1,18 @@
+
+\header {
+  texidoc = "The @code{toward-stem-shift} property controls the precise
+horizontal location of scripts that are placed above an upstem or below
+a downstem note (@code{0.0} means centered on the note head, @code{1.0}
+means centered on the stem).
+"
+}
+
+\version "2.11.66"
+\relative c''
+{
+  \override Script #'toward-stem-shift = #0.0
+  a4^. c_.
+
+  \override Script #'toward-stem-shift = #1.0
+  a4^. c_.
+}