4.6.4 Avoiding tweaks with slower processing

LilyPond can perform extra checks while it processes input files. These checks will take extra time to perform, but fewer manual tweaks may be required to obtain an acceptable result. If a text script or part of the lyrics extends over the margins these checks will compress that line of the score just enough to fit within the margins.

To be effective under all circumstances these checks must be enabled by placing the overrides in a Score \with block, rather than in-line in music, as follows:

\new Score \with {
  % Makes sure text scripts and lyrics are within the paper margins
  \override PaperColumn #'keep-inside-line = ##t
  \override NonMusicalPaperColumn #'keep-inside-line = ##t
} {

Other languages: français, español, deutsch.

Learning Manual