2 %possible rename to paper-fill-a4.ly -gp
3 % candidate for reg -gp
4 % Han says no, but keeping this comment temporarily so that I don't
5 % forget and nominate it for reg again. :) -gp
7 % test file to get a4 paper really filled,
8 % without having to resort to the ever-ugly oversizing hack:
10 % `textheight = 310.0\mm'
12 % process this file with lilypond, and make sure footskip/headsep are set
13 % at a reasonably (small) value. -- jcn
15 \header{ texidoc="@cindex Paper a4 Fill
16 This should fill a4 paper. "
19 #(set-global-staff-size 13)
22 \context Voice \notes\relative c'{
24 \repeat "unfold" 36 c1
30 % Vertical space is rather precious when typesetting
31 % music. But we can only set textheight here, and must
32 % guess and subtract the height needed for headers and
33 % footers. If we want a header or footer on some page,
34 % all other pages suffer shortened `textheight'.
35 % Try the maximum for a4, without loosing footers:
36 textheight = 297.0\mm - 7.0\mm
41 minimumVerticalExtent = #(cons 0 0)