[ << Top ] | [Top][Contents] | [ New for musical notation >> ] |
[ < Top ] | [ Up : Top ] | [ Notes for source compilation and packagers > ] |
Major changes in LilyPond
- Margins are now wider by default following the general layout of
several publishers (and the recommendations of Elaine Gould).
In order to switch back to the previous settings (e.g., to keep the same layout when upgrading an existing score to version 2.25.19), add the following code:
\paper { top-margin = 5\mm bottom-margin = 6\mm top-system-spacing.basic-distance = 1 top-markup-spacing.basic-distance = 0 left-margin = 10\mm right-margin = 10\mm inner-margin = 10\mm outer-margin = 20\mm binding-offset = 0\mm }
- Instead of generating PostScript or SVG output by itself, LilyPond
can now use the Cairo library to produce its output. This is
referred to as the ‘Cairo backend’, and can be turned on using
the
-dbackend=cairo
command-line option. This works for all output formats (PDF, SVG, PNG, PostScript), and brings speed and rendering fidelity improvements in SVG output in particular. However, keep in mind that this backend does not yet implement all features of the default backends. Among the features not currently supported are PDF outlines, the-dembed-source-code
option for PDF, and theoutput-attributes
property for SVG. - The distances between clefs and time signatures, together with the
distances between clefs and key signatures, are now calculated
differently. As a consequence, you will get better spacing for
extra-wide clefs (like
\clef "GG"
) or extra-slim clefs (like\clef "petrucci-c3"
).In the following image, both old and new positions are shown. The percentage gives the width difference of clef plus time signature and clef plus key signature, respectively.
Note that, as before, the widest clef in a staff group determines the horizontal position of all clefs in a system; this means, for example, that a piano score containing a treble and an alto clef doesn’t change at all.
If you want to restore the previous default values for whatever reason, add
\override Staff.Clef.space-alist.time-signature = #'(minimum-space . 3.5) \override Staff.Clef.space-alist.key-cancellation = #'(minimum-space . 3.5) \override Staff.Clef.space-alist.key-signature = #'(minimum-space . 4.2)
to your score.
[ << Top ] | [Top][Contents] | [ New for musical notation >> ] |
[ < Top ] | [ Up : Top ] | [ Notes for source compilation and packagers > ] |