| [ << Spacing issues ] | [Arriba][Índice general][Índice][ ? ] | [ Changing defaults >> ] | ||
| [ < Minimal page breaking ] | [ Subir : Breaks ] | [ Using an extra voice for breaks > ] | ||
4.3.6 Explicit breaks
Lily a veces rechaza las instrucciones \break y
\pageBreak explícitas. Hay dos instrucciones para
sobreescribir este comportamiento:
\override NonMusicalPaperColumn #'line-break-permission = ##f \override NonMusicalPaperColumn #'page-break-permission = ##f
Cuando se sobreescribe el valor de line-break-permission a
falso, Lily inserta saltos de línea en las instrucciones \break
explícitas y en ningún otro lugar. Cuando se sobreescribe el valor de
page-break-permission a falso, Lily inserta saltos de página en
las instrucciones \pageBreak explícitas y en ningún otro lugar.
\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 }
}
}
}
Véase también
Fragmentos de código: Spacing.
| [ << Spacing issues ] | [Arriba][Índice general][Índice][ ? ] | [ Changing defaults >> ] | ||
| [ < Minimal page breaking ] | [ Subir : Breaks ] | [ Using an extra voice for breaks > ] | ||
Other languages: English.