Next: Page breaks, Previous: Global sizes, Up: Page layout MOVED FROM LM
Line breaks are normally determined automatically. They are chosen
so that lines look neither cramped nor loose, and consecutive
lines have similar density. Occasionally you might want to
override the automatic breaks; you can do this by specifying
\break
. This will force a line break at this point. However,
line breaks can only occur at the end of ‘complete’ bars, i.e.,
where there are no notes or tuplets left ‘hanging’ over the bar
line. If you want to have a line break where there is no bar line,
you can force an invisible bar line by entering \bar ""
,
although again there must be no notes left hanging over in any of
the staves at this point, or it will be ignored.
The opposite command, \noBreak
, forbids a line break at the
bar line where it is inserted.
The most basic settings influencing line spacing are indent
and line-width
. They are set in the \layout
block.
They control the indentation of the first line of music, and the
lengths of the lines.
If ragged-right
is set to true in the \layout
block,
then systems end at their natural horizontal length, instead of
being spread horizontally to fill the whole line. This is useful
for short fragments, and for checking how tight the natural
spacing is.
The option ragged-last
is similar to ragged-right
,
but affects only the last line of the piece.
\layout { indent = #0 line-width = #150 ragged-last = ##t }
Next: Page breaks, Previous: Global sizes, Up: Page layout MOVED FROM LM
Esta pƔgina corresponde a LilyPond-2.11.40 (rama de desarrollo).
Informe de los fallos a http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs.
Se agradecen las sugerencias para la documentación.