]> git.donarmstrong.com Git - lilypond.git/blob - input/test/fill-a4.ly
release: 1.3.145
[lilypond.git] / input / test / fill-a4.ly
1
2 %
3 % test file to get a4 paper really filled,
4 % without having to resort to the ever-ugly oversizing hack:
5 %
6 %   `textheight = 310.0\mm'
7 %
8 % process this file with ly2dvi, and make sure footskip/headsep are set
9 % at a reasonably (small) value.  -- jcn
10 %
11 \header{
12 tagline="Ligly";
13 }
14 \include "paper13.ly";
15 \score{
16         \context Voice \notes\relative c'{
17                 \clef alto;
18                 \repeat "unfold" 36 c1
19         }
20         \paper{
21                 \paperThirteen
22                 indent = 0.0\mm;
23                 % URG
24                 % Vertical space is rather precious when typesetting
25                 % music.  But we can only set textheight here, and must
26                 % guess and subtract the height needed for headers and 
27                 % footers.  If we want a header or footer on some page,
28                 % all other pages suffer shortened `textheight'.
29                 % Try the maximum for a4, without loosing footers:
30                 textheight = 297.0\mm - 7.0\mm;
31                 papersize = "a4";
32                 linewidth = 15.0\mm;
33                 \translator {
34                         \StaffContext
35                         MinimumVerticalExtent = #(cons 0 0)
36                 }
37         }
38 }