4.3.6 Saltos de línea explícitos

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 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 }
    }
  \layout {
    \context {
      \Score
      \override NonMusicalPaperColumn #'line-break-permission = ##f
      \override NonMusicalPaperColumn #'page-break-permission = ##f
    }
  }
}

[image of music]

Véase también

Fragmentos de código: Spacing.


Otros idiomas: English, deutsch, français, 日本語.

LilyPond — Referencia de la notación

inserted by FC2 system