2011/5/25 Carl Sorensen <[email protected]>
> On 5/25/11 4:27 PM, "Trevor Bača" <[email protected]> wrote:
>
> > Hi,
> >
> > I'm looking to vertically lay out systems in a very rigid and regular
> way.
> > (This is the method I documented a while back in 4.4.2 'Explicit staff
> and
> > system positioning' using the Y-offset and alignment-distances attributes
> of
> > line-break-system-details.) The challenge is that this method produces
> > different visual results than it used to now that the new vertical
> spacing
> > code has been added into the system. Examples are the easiest way to show
> the
> > difference.
> >
> >
> > It would appear that what's going on here is that Lily's assessment of
> what
> > counts as the topmost edge of a system has changed over time: previously,
> the
> > Y-offset attribute of line-break-system-details applied to the top staff
> line
> > of the topmost staff in a system; now, the Y-offset attribute of
> > line-break-system-details applies to the outermost envelope (skyline?) of
> the
> > system. This makes sense. But I would really like to be able to reproduce
> the
> > utterly regular vertical spacing of my previous scores using current
> versions
> > of Lily.
> >
> > Is there any way to achieve the vertical layout of systems that I'm
> looking
> > for with modern versions of Lily?
>
> I couldn't get your examples to compile, so I couldn't test them.
>
> I think you want to set top-system-spacing and system-system-spacing with a
> 'stretchability of 0, which will place the system at a fixed location,
> regardless of the notes present.
>
Hi Carl,
So I tried the following ...
%%% EX 3 %%%
\version "2.13.61"
\paper {
evenHeaderMarkup = \markup \fill-line { " " }
indent = #0
oddHeaderMarkup = \markup \fill-line { " " }
top-margin = 20\mm
system-system-spacing = #'(
(basic_distance . 0) (minimum_distance . 0) (padding . 0)
(stretchability . 0))
top-system-spacing = #'(
(basic_distance . 0) (minimum_distance . 0) (padding . 0)
(stretchability . 0))
}
\new Staff {
%%% PAGE 1 %%%%
\overrideProperty #"Score.NonMusicalPaperColumn"
#'line-break-system-details #'((Y-offset . 0))
c'1 \pageBreak
\overrideProperty #"Score.NonMusicalPaperColumn"
#'line-break-system-details #'((Y-offset . 0))
c''''1
}
%%% END EX 3 %%%
... but the output appears to be the same as example 1. (Ie, the settings
appear to have no effect.)
Is there perhaps a mistake in my top-system-spacing and
system-system-spacing settings?
(And apologies for the miscompilation of exx 1 & 2; I just tried cutting and
pasting from the thread on my end and they seem to compile ok, which is
odd.)
Trevor.
--
Trevor Bača
[email protected]
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user