summaryrefslogtreecommitdiff
path: root/input
diff options
context:
space:
mode:
authorPaul Morris <paulwmorris@gmail.com>2016-10-02 16:05:01 -0400
committerPaul Morris <paulwmorris@gmail.com>2016-10-07 10:48:24 -0400
commit3735e6eea531a3d2110679a24817c633c725cf9b (patch)
treedf846cd01c2314d1e47b5a3e1a4f65c8ed69ca9e /input
parent4f2abdb21ee6b6f2441276f8dc81507708654915 (diff)
Issue 4979/2: Add regression test for non-merging ledger lines
Diffstat (limited to 'input')
-rw-r--r--input/regression/ledger-lines-non-merging.ly32
1 files changed, 32 insertions, 0 deletions
diff --git a/input/regression/ledger-lines-non-merging.ly b/input/regression/ledger-lines-non-merging.ly
new file mode 100644
index 0000000000..ac3bbed2cc
--- /dev/null
+++ b/input/regression/ledger-lines-non-merging.ly
@@ -0,0 +1,32 @@
+\version "2.19.49"
+
+\header {
+ texidoc = "In some rare cases like these the
+extents of two ledger lines at the same vertical
+position in the same note column do not overlap
+horizontally, and they should not be merged into
+a single ledger line.
+See LSR 505: Displaying complex chords
+http://lsr.di.unimi.it/LSR/Item?id=505
+"
+}
+
+fixA = {
+ \once \override Stem.length = #11
+}
+
+fixB = {
+ \once \override NoteHead.X-offset = #1.7
+ \once \override Stem.length = #7
+ \once \override Stem.rotation = #'(45 0 0)
+ \once \override Stem.extra-offset = #'(-0.1 . -0.2)
+ \once \override Flag.style = #'no-flag
+ \once \override Accidental.extra-offset = #'(4 . -.1)
+}
+
+\relative c' {
+ % case 1
+ \pitchedTrill a'' \startTrillSpan a
+ % case 2
+ << { \fixA <b,,, d!>8 } \\ { \voiceThree \fixB dis } >> s
+}