Hi, Joe,

this is following a problem on -user which Kieren helped me to solve (mostly). <http://lists.gnu.org/archive/html/lilypond-user/2010-06/msg00309.html>
I think I stumbled across an inconsistency of bottom-system-spacing, though:

From the docs (NR 4.1.2), bottom-system-spacing should specify the spacing to the top of the bottom margin. From my experiments however, it seems that only minimum-distance behaves this way, while padding relates to the top of the /footer/ instead. While I actually prefer the way padding works, I'm unsure whether that's a bug or not. In the latter case: should minimum-distance also relate to the top of the footer, for consistency? I attach a snippet showing the behaviour - try to comment out line 14 to see what I mean.

By the way, is it correct and desired that foot-separation does not exist anymore?


Cheers,
Alexander
\version "2.13.24"
\pointAndClickOff

low = { \repeat unfold 23 { c''1 } c1 }
high = \repeat unfold 24 { c''1 }

\paper {
  ragged-last-bottom = ##f

  %% padding relates to the top of the footer,
  bottom-system-spacing = #'((minimum-distance . 0) (padding . 0))

  %% while minimum-distance relates to the top of the bottom margin.
  bottom-system-spacing = #'((minimum-distance . 5) (padding . -inf.0))

  oddFooterMarkup = \markup {
    \with-color #red \filled-box #'(20 . 90) #'(0 . 5) #0
  }
  evenFooterMarkup = \markup {
    \with-color #green \filled-box #'(20 . 90) #'(0 . 3) #0
  }
}

\score {
  \new Staff {
    \low \pageBreak
    \high \pageBreak
    \low \pageBreak
    \high \pageBreak
    \high \pageBreak
    \low \pageBreak
  }
}
_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to