]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/page-turn-page-breaking.ly
(Two-pass vertical spacing): add documentation for two-pass spacing
[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   auto-first-page-number = ##t
14   print-page-number = ##t
15   print-first-page-number = ##t
16 }
17
18 \layout {
19   \context {
20     \Staff
21     \consists "Page_turn_engraver"
22   }
23 }
24
25 \relative c' {
26   a b c d a b c d \break
27   c d e f c d e f R1*4
28   \repeat unfold 15 {d4 e f g} \break
29   c d e f c d e f R1*2 \bar "||" R1*2
30   \repeat unfold 15 {d4 e f g}
31 }
32