From 3735e6eea531a3d2110679a24817c633c725cf9b Mon Sep 17 00:00:00 2001 From: Paul Morris Date: Sun, 2 Oct 2016 16:05:01 -0400 Subject: Issue 4979/2: Add regression test for non-merging ledger lines --- input/regression/ledger-lines-non-merging.ly | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 input/regression/ledger-lines-non-merging.ly 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 8 } \\ { \voiceThree \fixB dis } >> s +} -- cgit v1.2.3