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 Calculation of note head durations is now softcoded. This means
70 that they can be changed on the fly
72 @lilypond[relative=1,fragment,ragged-right]
73 %% use half heads for whole notes.
74 \override NoteHead #'duration-log = #(lambda (grob)
75 (min 3 (max 1 (ly:duration-log
76 (ly:event-property (event-cause grob) 'duration)))))
82 @c Please insert any new material above this line. -gp
84 @item Chords can now be partially tied,
86 @lilypond[ragged-right,relative,fragment]
90 This feature was sponsored by Steve Doonan.
92 @item Lyric extenders now have tunable padding.
94 This feature was sponsored by David Griffel.
97 Instrument changes are better supported: names in the margin can be
98 changed half-way during a staff, and cues are printed automatically.
100 This feature was sponsored by Kieren MacMillan.
103 Barlines can be dashed now,
105 @lilypond[relative,ragged-right,fragment]
109 This feature was sponsored by Kieren MacMillan.
112 Grace notes may be forced to use floating spacing,
114 @lilypond[relative=2,ragged-right]
116 \override Score.SpacingSpanner #'strict-grace-spacing = ##t
125 c'16[ c'16 c'16 c'16]
126 c'16[ c'16 c'16 c'16]
132 This feature was sponsored by Trevor Bača.
136 Durations of grace notes are taken into account for spacing,
138 @lilypond[relative=2,ragged-right,fragment]
140 \grace { c8[ c16 d c8] }
144 This feature was sponsored by Trevor Bača.
147 Tuplet brackets can be made to run to prefatory matter or
150 @lilypond[ragged-right]
152 \set tupletFullLength = ##t
157 \set tupletFullLengthNote = ##t
168 This feature was sponsored by Trevor Bača.
171 Falls and doits can be added to notes
173 @lilypond[fragment,ragged-right,relative=2]
174 \override Score.SpacingSpanner #'shortest-duration-space = #3.0
179 This feature was sponsored by Anthony Youngman and Paul Scott.
182 @code{lilypond-book} now includes support for PDF@TeX{}.
184 This feature was sponsored by David Roundy.
187 Nested tuplets can have different formatting for each nesting level,
189 @lilypond[ragged-right]
192 \tweak #'text #tuplet-number::calc-fraction-text
194 \tweak #'text #tuplet-number::calc-denominator-text
208 This feature was sponsored by Trevor Bača.
212 New sections with different spacing parameters can be started with
213 @code{newSpacingSection}. This is useful when there are
214 sections with a different notions of long and short notes.
216 In the following example, the time signature change introduces a new
217 section, and hence the 16ths notes are spaced wider.
219 @lilypond[relative,fragment]
222 c8 c c4 c16[ c c8] c4
229 This feature was sponsored by Trevor Bača, Michael Meixner and Vivian
233 A new, automated testing technique has been added. It will detect
234 changes in the formatting automatically, which will make it easier to
235 spot regression errors in the future.
237 View @uref{../../test-results.html,test results}.
240 Figured bass can also be added to @code{Staff} contexts directly. In
241 this case, their vertical position is adjusted automatically.
243 @lilypond[ragged-right,fragment]
245 \new Staff = someUniqueName
250 %% send to existing Staff.
251 \context Staff = someUniqueName
255 \set Staff.useBassFigureExtenders = ##t
261 This feature was sponsored by Trent Johnston.
264 Beams may be put on isolated stems, and beamlets may be paired by
265 setting the @code{max-beam-connect} property,
267 @lilypond[ragged-right,relative=2,fragment]
268 \override Stem #'max-beam-connect = #1
272 This feature was sponsored by Trevor Bača.
275 Beaming patterns obey the @code{beatGrouping} property.
277 @lilypond[ragged-right,relative=2,fragment]
279 \set beatGrouping = #'(2 3)
281 \set beatGrouping = #'(3 2)
285 This feature was sponsored by Trevor Bača.
288 With the command @code{\transposedCueDuring} a cue's transposition can
289 be changed locally. This can be used to prevent excessive ledger
292 This feature was contributed by Werner Lemberg
295 By setting @code{hairpinToBarline}, hairpins will stop at
296 the barline preceding the ending note.
298 @lilypond[relative=2,fragment,ragged-right]
299 \set hairpinToBarline = ##t
300 \override Hairpin #'bound-padding = #1.0
304 This feature was sponsored by Andrew Sidwell and Trevor Bača.
307 Objects may be rotated using the @code{rotation} property.
308 @lilypond[ragged-right,fragment,relative=1]
310 \override Hairpin #'rotation = #'(20 -1 0)
311 g4\<^\markup { \rotate #180 "test" } b d f'\!
315 This feature was contributed by Erlend Aasland.
318 Hairpins now support circled tips (al niente notation).
319 @lilypond[ragged-right,fragment,relative=2]
321 \override Hairpin #'circled-tip = ##t
327 This feature was contributed by Erlend Aasland.
330 The MusicXML convertor has been sped up, and has rudimentary support
331 for percussion notation. It will also condense multi-bar rests to
332 enable part extraction.
335 The beam printing code has been completely rewritten, and now includes
336 support for feathered beaming,
338 @lilypond[ragged-right,fragment,relative=2]
339 \featherDurations #(ly:make-moment 5 4)
341 \override Beam #'grow-direction = #LEFT
348 Known bug: the \featherDuration command only works with very short music
351 This feature was sponsored by Jamie Bullock.
354 The @code{\note} markup command now also accepts note head styles.
356 @lilypond[ragged-right,fragment,relative=2]
358 \override #'(style . triangle) \note-by-number #2 #1 #1 = 100
362 This feature was sponsored by Jamie Bullock.
365 Tie chord formatting also works with arpegiated
368 @lilypond[ragged-right]
370 <e c a f>2~ <e c a f> |
371 \set tieWaitForNote = ##t
372 e8~ c~ a~ f~ <e' c a f>2 |
373 f,8~ a~ c~ e~ <f, a c e>2 |
378 This feature was sponsored by Steve Doonan.
386 For older news, go to
387 @uref{http://lilypond.org/doc/v2.8/Documentation/topdocs/NEWS.html},
388 or @uref{../,go back} to the Documentation index.