2014-09-06 21:52 GMT+02:00 Robin Bannister <r...@dataway.ch>: > Federico Bruni wrote: > >> If you compile the following example, the systems are not horizontally >> centered. >> Bug or I'm missing something? >> >> \version "2.19.13" >> >> \layout { >> >> line-width = 160\mm >> > > I presume line-width is a \paper variable which > is only effective in a \paper block. > > No, as you can see in the image I've attached it is effective in a \layout block.
> http://www.lilypond.org/doc/v2.19/Documentation/notation/the-layout-block > mentions "\paper variables that affect score layout" > but doesn't seem to provide a list. > It's there: *The \paper variables that can appear in a \layout block are:* *line-width, ragged-right and ragged-last (see \paper variables for widths and margins)* *indent and short-indent (see \paper variables for shifts and indents)* *system-count (see \paper variables for line breaking) * If I put line-width in a \paper block, the systems are automatically centered. So, unless it's a bug, I suggest adding a sentence to the one I previously quoted: If line-width is set, and both left-margin and right-margin are unset, then the margins will be updated to center the systems on the page automatically. *Note that line-width must be in a \paper block, the margins won't be updated if line-width is set in the \layout block.* _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond