1 \input texinfo @c -*-texinfo-*-
6 @macro inputfileref{DIR,NAME}
7 @uref{../../../\DIR\/out-www/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}@c
9 @macro usermanref{NAME}
10 @inforef{\NAME\,,../../user/out-www/lilypond/lilypond}@c
15 @macro inputfileref{DIR,NAME}
18 @macro usermanref{NAME}
19 See user manual, \NAME\
24 @documentencoding utf-8
31 @unnumbered New features in 2.5 since 2.4
37 Global font styles (roman, sans, typewriter) can be defined for each
38 @code{\paper} block, with
43 "Times New Roman" "Helvetica" "Courier"
49 Newly created staves and lyric lines, can be put in any vertical order,
50 by setting @code{alignBelowContext} or @code{alignAboveContext}
51 properties in the newly created context. An example of the use of this
52 is in @inputfileref{input/regression,alignment-order.ly}.
54 This feature has been sponsored by Bertalan Fodor.
58 Staves may be stopped and started halfway a line, e.g.
60 @lilypond[relative=2,fragment,verbatim]
61 b4 b \stopStaff b \startStaff b
65 This feature has been sponsored by Hans Forbrich.
68 Grid lines, vertical lines synchronized with notes, can be drawn across
69 staves, by adding suitable engravers.
70 An example is in @inputfileref{input/regression,grid-lines.ly},
72 @lilypondfile[]{grid-lines.ly}
75 Lines, such as glissandi or Text-spanner lines, can have arrows at the
78 @lilypond[verbatim,fragment]
79 \override Glissando #'arrow = ##t
84 Chord names may now be rendered in Italian and French.
87 @file{lilypond-book} now makes @file{lilypond} print line numbers
88 relative to the input file for every error message.
91 The command @code{\epsfile} allows inclusion of EPS graphics into
95 There is a music function @code{\musicDisplay}, which will display a
96 music expression as indented Scheme code.
99 Automatic beaming is now specified explicitly for each moment
100 throughout a measure, which enables automatic beaming in compound
101 measures, as demonstrated in the following item.
104 A plus sign was added to the number font. This enables printing of
105 compound time signatures
107 @lilypondfile[]{compound-time.ly}
110 A new @code{\circle} markup command allows for all kinds of circled
113 @lilypondfile[]{circle.ly}
116 String numbers are now printed on chords as well
118 @lilypond[relative,relative=1,raggedright,fragment,verbatim]
122 See also @inputfileref{input/regression,string-number.ly}.
124 This feature was sponsored by Gunther Strube.
127 Notes with ledger lines will be kept at a distance, so they never
131 Clefs that are below notes of other staves are now spaced according to
132 engraving conventions.
135 Markup texts can be appended to a @code{\score} block or toplevel
136 music expression, for example,
139 \relative @{ c' d e @}
140 \markup @{ first text @}
141 \markup @{ second text @}
143 @c FIXME, cannot use toplevel music examples in lilypond-book,
144 @c but it works at toplevel too, as shown.
145 @lilypond[quote,raggedright]
150 printpagenumber = ##f
159 \markup { first text }
160 \markup { second text }
165 See @inputfileref{input/regression,score-text.ly}.
169 @TeX{}'s @code{kpathsea} library is loaded dynamically, so installing
170 LilyPond does not require installing @TeX{} anymore.
173 Point and click editing is now supported in the PS/PDF backend as
177 @uref{../../user/out-www/lilypond/Point-and-click.html,Point and click}.
180 the section Point and click in he user manual.
184 White mensural ligatures now conform more closely to Renaissance
189 With the new @code{tieWaitForNote} property, arpeggios may be written
190 out using ties, for example,
192 @lilypond[fragment,verbatim,relative=1,raggedright]
193 \set tieWaitForNote = ##t
194 \grace { c16[~ e~ g]~ } <c, e g>4
197 Thanks to Steve Doonan for funding development of this feature.
200 Individual objects may be assigned colors, for example,
202 @lilypond[fragment,relative=1,verbatim,raggedright]
203 \override NoteHead #'color = #red
208 The PostScript backend is now used by default. This backend requires
209 less machinery to run, and gives more consistent results.
211 Ghostscript 8.x is required for PDF output. Earlier versions may hang
212 while converting PostScript to PDF.
215 Separator slashes may be inserted between systems in a score. For an
216 example, see @inputfileref{input/regression,system-separator.ly}:
219 Locations of errors in the input are now calculated more precisely.
224 LilyPond now uses Pango and FontConfig for selecting and rendering
225 UTF-8 input in non-@TeX{} backends. A font may be selected by using a
229 \override TextScript #'font-name = #"Serif"
234 or using the classic font selection mechanism
237 \override TextScript #'font-family = #'roman
238 \override TextScript #'font-series = #'bold
241 Any Type1 and TrueType font recognized by FontConfig is available in
245 Metrics of blocks of text can be retrieved from (La)@TeX{} directly,
246 using the @code{-f texstr} output backend. This provides exact metrics
247 for texts, including kerning and accents.
250 LilyPond now uses FreeType read the Feta font as an OpenType font. This
251 is a cleaner design and more robust. Recent versions of FontForge (2004
252 1211 or newer) and Freetype are required. As a result,
255 the SVG backend is now a fully functional backend.
258 A new script, @code{\espressivo} has been added, for a combination of
259 crescendo and decrescendo on a single note.
262 In markups, expressions stacked with @code{\column},
263 @code{\center-align}, etc, are not grouped with @code{< ... >} anymore,
264 but with @code{@{ ... @}}, eg:
267 \line @{ first line @}
268 \line @{ second line @}
273 LilyPond will now avoid line breaks that cause long texts to stick
274 outside of the page staff.
277 Grace notes following a main note, used to be entered by letting the
278 grace notes follow a skip in a parallel expression, for example,
282 { s2 \grace { c16[ d] } } >>
287 This can now be shortened by doing
290 \afterGrace @{ d1 @} @{ c16[ d] @}
294 Pagebreaks can now be forced or forbidden after title blocks. This is
295 achieved by setting @code{breakbefore} in the @code{\header} block to
299 Shaped note heads. This feature has been sponsored by Jonathan Walther,
301 @lilypond[relative=1,fragment,verbatim,raggedright]
302 \set shapeNoteStyles = ##(do re mi fa #f la ti)
303 c d e f g a b c d e f g a b c
307 Layout for titles, page header and footer can now be entered as
308 @code{\markup} commands.
310 @item Positioning of slurs can now be adjusted manually
312 @item Grace notes are correctly quoted and formatted when using cue notes.
314 @item Cue notes can now be created with
317 \cueDuring #@var{voice-name} #@var{direction} @{ @var{music} @}
321 This will set stem directions and put the cue notes in the @code{cue}
324 @item Stemlets, short stems over beamed rests, have been added.
326 @lilypond[relative=1,verbatim,fragment,raggedright]
327 \override Stem #'stemlet-length = #0.75
334 For older news, go to
335 @uref{http://lilypond.org/doc/v2.4/Documentation/topdocs/out-www/NEWS.html}.