]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/page-turn-page-breaking.ly
* scm/page.scm (make-page): make it friendlier to call (esp. from C++)
[lilypond.git] / input / regression / page-turn-page-breaking.ly
1 \version "2.9.13"
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 \paper {
11   #(define page-breaking ly:page-turn-breaking)
12   paper-height = #70
13 }
14
15 \layout {
16   \context {
17     \Staff
18     \consists "Page_turn_engraver"
19   }
20 }
21
22 \relative c' {
23   a b c d a b c d \break
24   c d e f c d e f R1*4
25   \repeat unfold 15 {d4 e f g} \break
26   c d e f c d e f R1*2 \bar "||" R1*2
27   \repeat unfold 15 {d4 e f g}
28 }
29