]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/paper-default-margins-def.ly
8e2222901f8723d77c2d62d4970b46a370b4b84e
[lilypond.git] / input / regression / paper-default-margins-def.ly
1 \version "2.13.7"
2
3 \header {
4   texidoc = "Default margin values are accessible in paper-defaults-init.ly
5 and apply to the default paper size returned by (ly:get-option
6 'paper-size). For other paper sizes, they are scaled linearly.
7 This also affects head- and foot-separation as well as indents."
8 }
9
10 someNotes = \repeat unfold 30 { c4 d e f }
11
12 \paper {
13   #(set-paper-size (ly:get-option 'paper-size))
14 }
15
16 \book {
17   \markup { If the paper size remains default, the margin values from
18             paper-defaults-init.ly remain unchanged. }
19   \score {
20     \relative c' {
21       \someNotes
22       \someNotes
23     }
24   }
25 }