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