]> git.donarmstrong.com Git - lilypond.git/blob - input/test/page-breaks.ly
86668c7118df4f434db7a37a132e765fc6c9d434
[lilypond.git] / input / test / page-breaks.ly
1 \version "2.2.0"
2
3 \header {
4     texidoc = "Stress optimal page breaking.  This should look nice on 4 a6 pages."
5     copyright = "Copyright by /me"
6     
7     title = "Title"
8     subtitle = "(and (the) subtitle)"
9     subsubtitle = "Sub sub title"
10     poet = "Poet"
11     composer = "Composer"
12     texttranslator = "Text Translator"
13     opus = "opus 0"
14     meter = "Meter (huh?)"
15     arranger = "Arranger"
16     instrument = "Instrument"
17     piece = "Piece"
18 }
19
20 #(set-default-paper-size "a6")
21
22 pattern =  { a b c d \break }
23 \book {    
24     \score {
25         \context Staff \notes \relative c' {
26             %% 16: ideally cramped
27             %% 17: very bad without density
28                                 %       \repeat unfold 17 { a b c d \break }
29
30             \pattern
31             \pattern
32                                 % \noPageBreak
33             \pattern
34             
35                                 % the following changes the location of the break.
36                                 % 
37                                 % \pageBreak
38             
39             \pattern
40             \pattern
41             \pattern
42             \pattern
43             \repeat unfold 10 \pattern
44         }
45
46     }
47     
48 }