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 Slurs now avoid clefs and key changes.
71 @lilypond[fragment,ragged-right]
72 \new Staff { \clef bass c^( \clef "G" g') }
75 @item The @code{FretBoards} context will generate guitar frettings
78 @lilypond[fragment,relative=0,verbatim,ragged-right]
79 \new FretBoards { <d\5 fis a d fis> }
82 This feature was sponsored by Rick Hansen.
84 @item Horizontal and vertical spacing are now done at the same time
85 so that pages are filled more evenly.
87 @item The page breaking algorithm is capable of detecting page turns
88 and formatting the music accordingly.
90 @c Insert any new material above this line. -gp
92 @item Guitar right hand fingerings may
95 @lilypond[fragment,relative=1,ragged-right]
98 \set strokeFingerOrientations = #'(right) % up left down
99 \set fingeringOrientations = #'(down left up) % up left down
100 \set stringNumberOrientations = #'(down up left) % (up right down)
111 This feature was sponsored by William Wilson.
113 @item By defining a clip region, a cutout EPS file of a number of measures
114 may be generated from the complete score. Hence, it is no longer
115 necessary to create separate files to create extracts of (long)
116 scores. An example is shown in
117 @file{input/regression/clip-systems.ly}.
119 This feature was sponsored by Rick Hansen.
122 @item Lyric texts may include tie symbols by using the @code{~}
125 @lilypond[relative=1,fragment,ragged-right]
132 @item Calculation of note head durations is now softcoded.
134 @lilypond[relative=1,fragment,ragged-right]
135 %% use half heads for whole notes.
136 \override NoteHead #'duration-log = 1
140 @item Chords can now be partially tied,
142 @lilypond[ragged-right,relative,fragment]
143 <c~ e g~ b> <c e g b>
146 This feature was sponsored by Steve Doonan.
148 @item Lyric extenders now have tunable padding.
150 This feature was sponsored by David Griffel.
153 Instrument changes are better supported: names in the margin can be
154 changed half-way during a staff, and cues are printed automatically.
156 This feature was sponsored by Kieren MacMillan.
159 Barlines can be dashed now,
161 @lilypond[relative,ragged-right,fragment]
165 This feature was sponsored by Kieren MacMillan.
168 Grace notes may be forced to use floating spacing,
170 @lilypond[relative=2,ragged-right]
172 \override Score.SpacingSpanner #'strict-grace-spacing = ##t
181 c'16[ c'16 c'16 c'16]
182 c'16[ c'16 c'16 c'16]
188 This feature was sponsored by Trevor Bača.
192 Durations of grace notes are taken into account for spacing,
194 @lilypond[relative=2,ragged-right,fragment]
196 \grace { c8[ c16 d c8] }
200 This feature was sponsored by Trevor Bača.
203 Tuplet brackets can be made to run to prefatory matter or
206 @lilypond[ragged-right]
208 \set tupletFullLength = ##t
213 \set tupletFullLengthNote = ##t
224 This feature was sponsored by Trevor Bača.
227 Falls and doits can be added to notes
229 @lilypond[fragment,ragged-right,relative=2]
230 \override Score.SpacingSpanner #'shortest-duration-space = #3.0
235 This feature was sponsored by Anthony Youngman and Paul Scott.
238 @code{lilypond-book} now includes support for PDF@TeX{}.
240 This feature was sponsored by David Roundy.
243 Nested tuplets can have different formatting for each nesting level,
245 @lilypond[ragged-right]
248 \tweak #'text #tuplet-number::calc-fraction-text
250 \tweak #'text #tuplet-number::calc-denominator-text
264 This feature was sponsored by Trevor Bača.
268 New sections with different spacing parameters can be started with
269 @code{newSpacingSection}. This is useful when there are
270 sections with a different notions of long and short notes.
272 In the following example, the time signature change introduces a new
273 section, and hence the 16ths notes are spaced wider.
275 @lilypond[relative,fragment]
278 c8 c c4 c16[ c c8] c4
285 This feature was sponsored by Trevor Bača, Michael Meixner and Vivian
289 A new, automated testing technique has been added. It will detect
290 changes in the formatting automatically, which will make it easier to
291 spot regression errors in the future.
293 View @uref{../../test-results.html,test results}.
296 Figured bass can also be added to @code{Staff} contexts directly. In
297 this case, their vertical position is adjusted automatically.
299 @lilypond[ragged-right,fragment]
301 \new Staff = someUniqueName
306 %% send to existing Staff.
307 \context Staff = someUniqueName
311 \set Staff.useBassFigureExtenders = ##t
317 This feature was sponsored by Trent Johnston.
320 Beams may be put on isolated stems, and beamlets may be paired by
321 setting the @code{max-beam-connect} property,
323 @lilypond[ragged-right,relative=2,fragment]
324 \override Stem #'max-beam-connect = #1
328 This feature was sponsored by Trevor Bača.
331 Beaming patterns obey the @code{beatGrouping} property.
333 @lilypond[ragged-right,relative=2,fragment]
335 \set beatGrouping = #'(2 3)
337 \set beatGrouping = #'(3 2)
341 This feature was sponsored by Trevor Bača.
344 With the command @code{\transposedCueDuring} a cue's transposition can
345 be changed locally. This can be used to prevent excessive ledger
348 This feature was contributed by Werner Lemberg
351 By setting @code{hairpinToBarline}, hairpins will stop at
352 the barline preceding the ending note.
354 @lilypond[relative=2,fragment,ragged-right]
355 \set hairpinToBarline = ##t
356 \override Hairpin #'bound-padding = #1.0
360 This feature was sponsored by Andrew Sidwell and Trevor Bača.
363 Objects may be rotated using the @code{rotation} property.
364 @lilypond[ragged-right,fragment,relative=1]
366 \override Hairpin #'rotation = #'(20 -1 0)
367 g4\<^\markup { \rotate #180 "test" } b d f'\!
371 This feature was contributed by Erlend Aasland.
374 Hairpins now support circled tips (al niente notation).
375 @lilypond[ragged-right,fragment,relative=2]
377 \override Hairpin #'circled-tip = ##t
383 This feature was contributed by Erlend Aasland.
386 The MusicXML convertor has been sped up, and has rudimentary support
387 for percussion notation. It will also condense multi-bar rests to
388 enable part extraction.
391 The beam printing code has been completely rewritten, and now includes
392 support for feathered beaming,
394 @lilypond[ragged-right,fragment,relative=2]
395 \featherDurations #(ly:make-moment 5 4)
397 \override Beam #'grow-direction = #LEFT
404 Known bug: the \featherDuration command only works with very short music
407 This feature was sponsored by Jamie Bullock.
410 The @code{\note} markup command now also accepts note head styles.
412 @lilypond[ragged-right,fragment,relative=2]
414 \override #'(style . triangle) \note-by-number #2 #1 #1 = 100
418 This feature was sponsored by Jamie Bullock.
421 Tie chord formatting also works with arpegiated
424 @lilypond[ragged-right]
426 <e c a f>2~ <e c a f> |
427 \set tieWaitForNote = ##t
428 e8~ c~ a~ f~ <e' c a f>2 |
429 f,8~ a~ c~ e~ <f, a c e>2 |
434 This feature was sponsored by Steve Doonan.
442 For older news, go to
443 @uref{http://lilypond.org/doc/v2.8/Documentation/topdocs/NEWS.html},
444 or @uref{../,go back} to the Documentation index.