]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/paper-margins-consistency.ly
Docs: run convert-ly for 2.14.0.
[lilypond.git] / input / regression / paper-margins-consistency.ly
1 \version "2.14.0"
2
3 #(ly:set-option 'warning-as-error #f)
4
5 \header {
6   texidoc = "Margin values must fit the line-width, that means: paper-width =
7 line-width + left-margin + right-margin.  In case they do not, default margins
8 are set and a warning is printed."
9 }
10
11 someNotes = \relative c' { \repeat unfold 40 { c4 d e f } }
12
13 \paper {
14   left-margin = 20 \mm
15   right-margin = 40 \mm
16   line-width = 100 \mm
17 }
18
19 \book {
20   \score { \someNotes }
21 }