On 5/26/11 4:09 PM, "Trevor Bača" <trevorb...@gmail.com> wrote: > 2011/5/25 Carl Sorensen <c_soren...@byu.edu> >> On 5/25/11 4:27 PM, "Trevor Bača" <trevorb...@gmail.com> wrote: >> >>>> 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.)
Oh -- it's special space characters that break compliation. Sometimes the emails have 0xA0 instead of 0x20 for spaces, IIRC. I'm sorry that I didn't make it work properly. padding needs to be negative to prevent the staves from changing places in response to the notes etc. \version "2.13.61" \paper { evenHeaderMarkup = \markup \fill-line { " " } indent = #0 oddHeaderMarkup = \markup \fill-line { " " } top-margin = 20\mm system-system-spacing = #'( (basic_distance . 24) (minimum_distance . 0) (padding . -10) (stretchability . 0)) top-system-spacing = #'( (basic_distance . 24) (minimum_distance . 0) (padding . -10) (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 } As I checked this out, the staff position was fixed on both pages. HTH, Carl _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user