From e462225b05d54b715b330832618bddb90442b166 Mon Sep 17 00:00:00 2001 From: Joe Neeman Date: Sun, 26 Nov 2006 23:03:57 +0200 Subject: [PATCH] Add NEWS and regression test for skyline-vertical-spacing --- Documentation/topdocs/NEWS.tely | 15 ++++++++++++++- input/regression/skyline-vertical-spacing.ly | 17 +++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 input/regression/skyline-vertical-spacing.ly diff --git a/Documentation/topdocs/NEWS.tely b/Documentation/topdocs/NEWS.tely index 25283a13f1..2b934fa7f5 100644 --- a/Documentation/topdocs/NEWS.tely +++ b/Documentation/topdocs/NEWS.tely @@ -70,7 +70,6 @@ which scares away people. avoid collisions. @lilypond[fragment,ragged-right,relative=1] -{ \override TextScript #'outside-staff-priority = #1 c'' \once \override TextScript #'self-alignment-X = #CENTER @@ -78,7 +77,21 @@ avoid collisions. b^"this goes above the previous markup" a8_"this goes below the dynamic" a\f +@end lilypond + +@item Staves are spaced vertically using a skyline algorithm. This helps to avoid +uneven vertical spacing. + +@lilypond[ragged-right] +\book { + \score { + { + a,,1 | a'4 b' c'' d'' \break + \repeat unfold 2 {a' b' c'' d''} | b''''1 + } + } } +@end lilypond @end itemize diff --git a/input/regression/skyline-vertical-spacing.ly b/input/regression/skyline-vertical-spacing.ly new file mode 100644 index 0000000000..2a24773b3c --- /dev/null +++ b/input/regression/skyline-vertical-spacing.ly @@ -0,0 +1,17 @@ +\header { + texidoc = "We use a skyline algorithm to determine the distance to the next +system instead of relying only on bounding boxes. This keeps gaps between +systems more uniform." +} + +\paper {ragged-right = ##t} + +\version "2.11.0" +\book { + \score { + { + a,,1 | a'4 b' c'' d'' \break + \repeat unfold 2 {a' b' c'' d''} | b''''1 + } + } +} -- 2.39.5