1 \input texinfo @c -*- coding: utf-8; mode: texinfo; -*-
6 @macro inputfileref{DIR,NAME}
7 @uref{../../\DIR\/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}@c
9 @macro usermanref{NAME}
10 @inforef{\NAME\,,../user/lilypond/lilypond}@c
15 @macro inputfileref{DIR,NAME}
18 @macro usermanref{NAME}
19 See user manual, \NAME\
24 @macro textanchor{NAME}
31 @documentencoding utf-8
40 @unnumbered New features in 2.9 since 2.8
43 This document is also available in @uref{NEWS.pdf,PDF}. It's part of
44 the @uref{../,LilyPond Documentation}
56 * only show verbatim input for syntax/input changes
58 * try to be as brief possible in those cases
60 * don't try to provide real-world examples, they often get too big,
61 which scares away people.
63 * Write complete sentences.
65 * only show user-visible changes.
69 @item The @code{FretBoards} context will generate guitar frettings
72 @lilypond[fragment,relative=0,verbatim,ragged-right]
73 \new FretBoards { <d\5 fis a d fis> }
76 This feature was sponsored by Rick Hansen.
78 @item Horizontal and vertical spacing are now done at the same time
79 so that pages are filled more evenly.
81 @item The page breaking algorithm is capable of detecting page turns
82 and formatting the music accordingly.
84 @c Insert any new material above this line. -gp
86 @item Guitar right hand fingerings may
89 @lilypond[fragment,relative=1,ragged-right]
92 \set strokeFingerOrientations = #'(right) % up left down
93 \set fingeringOrientations = #'(down left up) % up left down
94 \set stringNumberOrientations = #'(down up left) % (up right down)
105 This feature was sponsored by William Wilson.
107 @item By defining a clip region, a cutout EPS file of a number of measures
108 may be generated from the complete score. Hence, it is no longer
109 necessary to create separate files to create extracts of (long)
110 scores. An example is shown in
111 @file{input/regression/clip-systems.ly}.
113 This feature was sponsored by Rick Hansen.
116 @item Lyric texts may include tie symbols by using the @code{~}
119 @lilypond[relative=1,fragment,ragged-right]
126 @item Calculation of note head durations is now softcoded.
128 @lilypond[relative=1,fragment,ragged-right]
129 %% use half heads for whole notes.
130 \override NoteHead #'duration-log = 1
134 @item Chords can now be partially tied,
136 @lilypond[ragged-right,relative,fragment]
137 <c~ e g~ b> <c e g b>
140 This feature was sponsored by Steve Doonan.
142 @item Lyric extenders now have tunable padding.
144 This feature was sponsored by David Griffel.
147 Instrument changes are better supported: names in the margin can be
148 changed half-way during a staff, and cues are printed automatically.
150 This feature was sponsored by Kieren MacMillan.
153 Barlines can be dashed now,
155 @lilypond[relative,ragged-right,fragment]
159 This feature was sponsored by Kieren MacMillan.
162 Grace notes may be forced to use floating spacing,
164 @lilypond[relative=2,ragged-right]
166 \override Score.SpacingSpanner #'strict-grace-spacing = ##t
175 c'16[ c'16 c'16 c'16]
176 c'16[ c'16 c'16 c'16]
182 This feature was sponsored by Trevor Bača.
186 Durations of grace notes are taken into account for spacing,
188 @lilypond[relative=2,ragged-right,fragment]
190 \grace { c8[ c16 d c8] }
194 This feature was sponsored by Trevor Bača.
197 Tuplet brackets can be made to run to prefatory matter or
200 @lilypond[ragged-right]
202 \set tupletFullLength = ##t
207 \set tupletFullLengthNote = ##t
218 This feature was sponsored by Trevor Bača.
221 Falls and doits can be added to notes
223 @lilypond[fragment,ragged-right,relative=2]
224 \override Score.SpacingSpanner #'shortest-duration-space = #3.0
229 This feature was sponsored by Anthony Youngman and Paul Scott.
232 @code{lilypond-book} now includes support for PDF@TeX{}.
234 This feature was sponsored by David Roundy.
237 Nested tuplets can have different formatting for each nesting level,
239 @lilypond[ragged-right]
242 \tweak #'text #tuplet-number::calc-fraction-text
244 \tweak #'text #tuplet-number::calc-denominator-text
258 This feature was sponsored by Trevor Bača.
262 New sections with different spacing parameters can be started with
263 @code{newSpacingSection}. This is useful when there are
264 sections with a different notions of long and short notes.
266 In the following example, the time signature change introduces a new
267 section, and hence the 16ths notes are spaced wider.
269 @lilypond[relative,fragment]
272 c8 c c4 c16[ c c8] c4
279 This feature was sponsored by Trevor Bača, Michael Meixner and Vivian
283 A new, automated testing technique has been added. It will detect
284 changes in the formatting automatically, which will make it easier to
285 spot regression errors in the future.
287 View @uref{../../test-results.html,test results}.
290 Figured bass can also be added to @code{Staff} contexts directly. In
291 this case, their vertical position is adjusted automatically.
293 @lilypond[ragged-right,fragment]
295 \new Staff = someUniqueName
300 %% send to existing Staff.
301 \context Staff = someUniqueName
305 \set Staff.useBassFigureExtenders = ##t
311 This feature was sponsored by Trent Johnston.
314 Beams may be put on isolated stems, and beamlets may be paired by
315 setting the @code{max-beam-connect} property,
317 @lilypond[ragged-right,relative=2,fragment]
318 \override Stem #'max-beam-connect = #1
322 This feature was sponsored by Trevor Bača.
325 Beaming patterns obey the @code{beatGrouping} property.
327 @lilypond[ragged-right,relative=2,fragment]
329 \set beatGrouping = #'(2 3)
331 \set beatGrouping = #'(3 2)
335 This feature was sponsored by Trevor Bača.
338 With the command @code{\transposedCueDuring} a cue's transposition can
339 be changed locally. This can be used to prevent excessive ledger
342 This feature was contributed by Werner Lemberg
345 By setting @code{hairpinToBarline}, hairpins will stop at
346 the barline preceding the ending note.
348 @lilypond[relative=2,fragment,ragged-right]
349 \set hairpinToBarline = ##t
350 \override Hairpin #'bound-padding = #1.0
354 This feature was sponsored by Andrew Sidwell and Trevor Bača.
357 Objects may be rotated using the @code{rotation} property.
358 @lilypond[ragged-right,fragment,relative=1]
360 \override Hairpin #'rotation = #'(20 -1 0)
361 g4\<^\markup { \rotate #180 "test" } b d f'\!
365 This feature was contributed by Erlend Aasland.
368 Hairpins now support circled tips (al niente notation).
369 @lilypond[ragged-right,fragment,relative=2]
371 \override Hairpin #'circled-tip = ##t
377 This feature was contributed by Erlend Aasland.
380 The MusicXML convertor has been sped up, and has rudimentary support
381 for percussion notation. It will also condense multi-bar rests to
382 enable part extraction.
385 The beam printing code has been completely rewritten, and now includes
386 support for feathered beaming,
388 @lilypond[ragged-right,fragment,relative=2]
389 \featherDurations #(ly:make-moment 5 4)
391 \override Beam #'grow-direction = #LEFT
398 Known bug: the \featherDuration command only works with very short music
401 This feature was sponsored by Jamie Bullock.
404 The @code{\note} markup command now also accepts note head styles.
406 @lilypond[ragged-right,fragment,relative=2]
408 \override #'(style . triangle) \note-by-number #2 #1 #1 = 100
412 This feature was sponsored by Jamie Bullock.
415 Tie chord formatting also works with arpegiated
418 @lilypond[ragged-right]
420 <e c a f>2~ <e c a f> |
421 \set tieWaitForNote = ##t
422 e8~ c~ a~ f~ <e' c a f>2 |
423 f,8~ a~ c~ e~ <f, a c e>2 |
428 This feature was sponsored by Steve Doonan.
436 For older news, go to
437 @uref{http://lilypond.org/doc/v2.8/Documentation/topdocs/NEWS.html},
438 or @uref{../,go back} to the Documentation index.