release commit
[lilypond.git] / input / test / fill-a4.ly
blobb08dd3980ee7f5a9a1947bd64b88978a84214b56
1 #(ly:set-option 'old-relative)
2 \version "2.1.7"
3 %possible rename to paper-fill-a4.ly -gp
4 % candidate for reg -gp
5 % Han says no, but keeping this comment temporarily so that I don't
6 % forget and nominate it for reg again. :) -gp
8 % test file to get a4 paper really filled,
9 % without having to resort to the ever-ugly oversizing hack:
11 % `textheight = 310.0\mm'
13 % process this file with lilypond, and make sure footskip/headsep are set
14 % at a reasonably (small) value. -- jcn
16 \header{ texidoc="@cindex Paper a4 Fill
17 This should fill a4 paper. "
20 \include "paper13.ly"
22 \score{
23 \context Voice \notes\relative c'{
24 \clef alto
25 \repeat "unfold" 36 c1
27 \paper{
28 \paperThirteen
29 indent = 0.0\mm
30 % URG
31 % Vertical space is rather precious when typesetting
32 % music. But we can only set textheight here, and must
33 % guess and subtract the height needed for headers and
34 % footers. If we want a header or footer on some page,
35 % all other pages suffer shortened `textheight'.
36 % Try the maximum for a4, without loosing footers:
37 textheight = 297.0\mm - 7.0\mm
38 papersize = "a4"
39 linewidth = 15.0\mm
40 \translator {
41 \StaffContext
42 minimumVerticalExtent = #(cons 0 0)