From d310eaa9789aafb5e6f09d2e6baa20adba0bf72c Mon Sep 17 00:00:00 2001 From: Maximilian Albert Date: Sat, 13 Dec 2008 00:42:22 +0100 Subject: [PATCH] Add regression test for 'toward-stem-shift property --- input/regression/script-shift.ly | 26 ++++++++++++++++++++++++++ 1 files changed, 26 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..b9bac58 --- /dev/null +++ b/input/regression/script-shift.ly @@ -0,0 +1,26 @@ + +\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" +\layout { + indent = 0\mm + ragged-right = ##t +} +\relative c'' +{ + \time 2/4 + \override Script #'toward-stem-shift = #0.0 + g8[^. g^. g^. g^.] + + \override Script #'toward-stem-shift = #0.5 + c8[_. c_. c_. c_.] + + \override Script #'toward-stem-shift = #1.0 + g8[^. g^. g^. g^.] +} -- 1.5.4.3