diff options
author | Mike Solomon <mike@apollinemike.com> | 2012-09-05 00:48:43 +0200 |
---|---|---|
committer | Mike Solomon <mike@apollinemike.com> | 2012-09-05 00:48:43 +0200 |
commit | 32bbd3a473244d255f8b713516c008a5d3ec6cb4 (patch) | |
tree | c51cc3fe9af50f58bae6bc8cf3e95b486d11a614 /input | |
parent | 5fed61cb3b4f254cac376555734bcf748573ea66 (diff) |
Dynamics do not avoid extremal cross-staff stems in extremal directions.
If a cross-staff stem is pointing down and a dynamic is attached below
the stem, for example, it will not be horizontally shifted.
Diffstat (limited to 'input')
-rw-r--r-- | input/regression/dynamics-avoid-cross-staff-stem-2.ly | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/input/regression/dynamics-avoid-cross-staff-stem-2.ly b/input/regression/dynamics-avoid-cross-staff-stem-2.ly new file mode 100644 index 0000000000..e549646f75 --- /dev/null +++ b/input/regression/dynamics-avoid-cross-staff-stem-2.ly @@ -0,0 +1,23 @@ +\version "2.17.2" + +\header { + texidoc = "Dynamics do not horizontally shift when attached to +an axis-group extremal cross staff grob that's extremal side +(UP or DOWN) is the same as its direction. +" +} + +\new PianoStaff << + \new Staff = "up" { + s1 | + } + \new Staff = "down" { + \clef bass + \stemDown + % keep staff alive + <c,, c,>8 [ <c,, c,>8_\f + \change Staff = "up" + g' g' ] + r2 | + } +>> |