|
From: | lilypond |
Subject: | Re: Issue 2066 in lilypond: Patch: Prevents accidentals from hanging over barlines. |
Date: | Fri, 02 Dec 2011 09:11:08 +0000 |
Comment #6 on issue 2066 by address@hidden: Patch: Prevents accidentals from hanging over barlines.
http://code.google.com/p/lilypond/issues/detail?id=2066 Well, so much for that idea. At least I have a test case. Use this snippet of code: { %\override Staff . BarLine #'extra-spacing-height = % #pure-from-neighbor-interface::extra-spacing-height \repeat unfold 6 { <g'''! a'''! b'''!>4 g'4 g' g' \noBreak } }commenting in and out the above override. This'll give you the two options currently available.
It seems that Staff_spacing::get_spacing is the only place that a spring is being assigned between the NonMusicalPaperColumn to which the BarLine belongs and the PaperColumn to the left. I get the sense that, to make this work, you'd have to start with the above override commented out and find the right cocktail of numbers to add to Staff_spacing::get_spacing. I also get the sense that inverse_compress_strength and inverse_stretch_strength don't really make much of a difference - one would need to work directly with the ideal length.
Cheers, MS
[Prev in Thread] | Current Thread | [Next in Thread] |