Explicit breaks - GNU LilyPond
Description: GNU LilyPond

Next: Using an extra voice for breaks, Previous: Optimal page turning, Up: Breaks

#### 11.3.5 Explicit breaks

Lily sometimes rejects explicit `\break` and `\pageBreak` commands. There are two commands to override this behavior:

    \override NonMusicalPaperColumn #'line-break-permission = ##f
    \override NonMusicalPaperColumn #'page-break-permission = ##f

When `line-break-permission` is overriden to false, Lily will insert line breaks at explicit `\break` commands and nowhere else. When `page-break-permission` is overriden to false, Lily will insert page breaks at explicit `\pageBreak` commands and nowhere else.

>          \paper {
>            indent = #0
>            ragged-right = ##t
>            ragged-bottom = ##t
>          }

>          \score {
>            \new Score \with {
>              \override NonMusicalPaperColumn #'line-break-permission = ##f
>              \override NonMusicalPaperColumn #'page-break-permission = ##f
>            } {
>              \new Staff {
>                \repeat unfold 2 { c'8 c'8 c'8 c'8 } \break
>                \repeat unfold 4 { c'8 c'8 c'8 c'8 } \break
>                \repeat unfold 6 { c'8 c'8 c'8 c'8 } \break
>                \repeat unfold 8 { c'8 c'8 c'8 c'8 } \pageBreak
>                \repeat unfold 8 { c'8 c'8 c'8 c'8 } \break
>                \repeat unfold 6 { c'8 c'8 c'8 c'8 } \break
>                \repeat unfold 4 { c'8 c'8 c'8 c'8 } \break
>                \repeat unfold 2 { c'8 c'8 c'8 c'8 }
>              }
>            }
>          }

Next: Using an extra voice for breaks, Previous: Optimal page turning, Up: Breaks

This page is for LilyPond-2.10.33 (stable-branch).