]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/page-turn-page-breaking.ly
Imported Upstream version 2.14.2
[lilypond.git] / input / regression / page-turn-page-breaking.ly
1 \version "2.14.0"
2
3 \header{
4     texidoc="The page-turn breaker will put a page turn after
5 a rest unless there is a 'special' barline within the rest,
6 in which case the turn will go after the special barline.
7 "
8 }
9
10 \layout {
11   \context {
12     \Staff
13     \consists "Page_turn_engraver"
14   }
15 }
16
17 \book {
18
19   \paper {
20     #(define page-breaking ly:page-turn-breaking)
21     paper-height = #35
22     auto-first-page-number = ##t
23     print-page-number = ##t
24     print-first-page-number = ##t
25   }
26
27   \score {
28     \relative c' {
29       a b c d a b c d \break
30       c d e f c d e f R1*4
31       \repeat unfold 13 {d4 e f g} \break
32       c d e f c d e f R1*2 \bar "||" R1*2
33       \repeat unfold 15 {d4 e f g}
34     }
35   }
36 }
37