]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/page-layout.ly
5d2ecdff2a070fa89ffcd448a5f77891c551fffc
[lilypond.git] / input / regression / page-layout.ly
1
2 \version "2.7.39"
3
4
5     
6 \header {
7
8      texidoc = "This shows how different settings on \paper modify the
9 general page layout. Basically \paper will set the values for the
10 whole paper while \layout for each \score block.
11
12 This file is best viewed outside the collated files document.
13
14
15  
16     title = "Title"
17     subtitle = "(and (the) subtitle)"
18     subsubtitle = "Sub sub title"
19     poet = "Poet"
20     composer = "Composer"
21     texttranslator = "Text Translator"
22     meter = "Meter"
23     arranger = "Arranger"
24     instrument = "Instrument"
25   }
26
27 \paper {
28     %paper-width = 2\cm
29     %paper-height = 2\cm
30     top-margin = 2\cm
31     bottom-margin = 2\cm
32     %heap-separation = 7\cm
33     %foot-separation = 7\cm
34     ragged-bottom = ##t
35     ragged-last-bottom = ##t
36     left-margin = 3\cm
37     line-width = 15\cm
38     %rigthmargin = 3\cm
39     interscoreline = 3\cm
40
41     annotate-spacing = ##t
42
43
44     
45   }
46
47
48 \book {
49     \score {
50         \relative c'' {
51             \repeat unfold 10 {
52                 \repeat unfold 4 {c4}
53             }
54         }
55         \header {piece = "Piece I"}
56         \layout {line-width = 13\cm}
57     }
58     \score {
59         \relative c'' {
60             \repeat unfold 10 {
61                 \repeat unfold 4 {c4}
62             }
63         }
64         \header {
65           breakbefore = ##f
66           piece = "Piece II"
67         }
68         \layout {line-width = 9\cm}
69     }
70 }