2008/12/17 Neil Puttock <n.putt...@gmail.com>:
> 2008/12/16 Maximilian Albert <maximilian.alb...@googlemail.com>:
>
>> Alright, the adapted patch #2 is attached. Obviously I put too much
>> focus on making a regression test more visually appealing than minimal
>> and functional...
>
> Looks OK, but your \header block isn't closed.

Whoops, corrected in the attached patch (where the layout block is
removed, too).

Thanks,
Max
From e1dee2e16f02e575caee8cadfa4608f7473fbfaf Mon Sep 17 00:00:00 2001
From: Maximilian Albert <ci...@dike.(none)>
Date: Sat, 13 Dec 2008 00:42:22 +0100
Subject: [PATCH] Add regression test for 'toward-stem-shift property

---
 input/regression/script-shift.ly |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)
 create mode 100644 input/regression/script-shift.ly

diff --git a/input/regression/script-shift.ly b/input/regression/script-shift.ly
new file mode 100644
index 0000000..bbe6b02
--- /dev/null
+++ b/input/regression/script-shift.ly
@@ -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.65"
+\relative c''
+{
+  \override Script #'toward-stem-shift = #0.0
+  a4^. c_.
+
+  \override Script #'toward-stem-shift = #1.0
+  a4^. c_.
+}
-- 
1.5.4.3

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to