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