4 texidoc = "Stems with overridden 'Y-extent should
5 not confuse height estimation. This example should fit snugly
10 #(define (assert-single-page layout props arg)
11 (if (and (= (chain-assoc-get 'page:page-number props -1)
12 (ly:output-def-lookup layout 'first-page-number))
13 (chain-assoc-get 'page:last? props -1))
14 (interpret-markup layout props arg)
15 (ly:error "failed to fit test on single page")))
18 #(set-paper-size "a6")
21 system-system-spacing = #'((padding . 1.2))
22 oddHeaderMarkup = \markup \on-the-fly #assert-single-page \null
29 \override Stem.Y-extent = #'(0.0 . 0.0)
35 \remove "Bar_number_engraver"