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.
70 Grace notes maybe forced to use floating spacing,
72 @lilypond[relative=2,ragged-right]
74 \override Score.SpacingSpanner #'strict-grace-spacing = ##t
90 This feature was sponsored by Trevor Bača.
94 Durations of grace notes are taken into account for spacing,
96 @lilypond[relative=2,ragged-right,fragment]
98 \grace { c8[ c16 d c8] }
102 This feature was sponsored by Trevor Bača.
105 Tuplet brackets can be made to run to prefatory matter or
108 @lilypond[ragged-right]
110 \set tupletFullLength = ##t
115 \set tupletFullLengthNote = ##t
126 This feature was sponsored by Trevor Bača.
129 Falls and doits can be added to notes
131 @lilypond[fragment,ragged-right,relative=2]
132 \override Score.SpacingSpanner #'shortest-duration-space = #3.0
137 This feature was sponsored by Anthony Youngman and Paul Scott.
140 @code{lilypond-book} now includes support for PDF@TeX{}.
142 This feature was sponsored by David Roundy.
145 Nested tuplets can have different formatting for each nesting level,
147 @lilypond[ragged-right]
150 \tweak #'text #tuplet-number::calc-fraction-text
152 \tweak #'text #tuplet-number::calc-denominator-text
166 This feature was sponsored by Trevor Bača.
170 New sections with different spacing parameters can be started with
171 @code{newSpacingSection}. This is useful when there are
172 sections with a different notions of long and short notes.
174 In the following example, the time signature change introduces a new
175 section, and hence the 16ths notes are spaced wider.
177 @lilypond[relative,fragment]
180 c8 c c4 c16[ c c8] c4
187 This feature was sponsored by Trevor Bača, Michael Meixner and Vivian
191 A new, automated testing technique has been added. It will detect
192 changes in the formatting automatically, which will make it easier to
193 spot regression errors in the future.
195 View @uref{../../test-results.html,test results}.
198 Figured bass can also be added to @code{Staff} contexts directly. In
199 this case, their vertical position is adjusted automatically.
201 @lilypond[ragged-right,fragment]
203 \new Staff = someUniqueName
208 %% send to existing Staff.
209 \context Staff = someUniqueName
213 \set Staff.useBassFigureExtenders = ##t
219 This feature was sponsored by Trent Johnston.
222 Beams may be put on isolated stems, and beamlets may be paired by
223 setting the @code{max-beam-connect} property,
225 @lilypond[ragged-right,relative=2,fragment]
226 \override Stem #'max-beam-connect = #1
230 This feature was sponsored by Trevor Bača.
233 Beaming patterns obey the @code{beatGrouping} property.
235 @lilypond[ragged-right,relative=2,fragment]
237 \set beatGrouping = #'(2 3)
239 \set beatGrouping = #'(3 2)
243 This feature was sponsored by Trevor Bača.
246 With the command @code{\transposedCueDuring} a cue's transposition can
247 be changed locally. This can be used to prevent excessive ledger
250 This feature was contributed by Werner Lemberg
253 By setting @code{hairpinToBarline}, hairpins will stop at
254 the barline preceding the ending note.
256 @lilypond[relative=2,fragment,ragged-right]
257 \set hairpinToBarline = ##t
258 \override Hairpin #'bound-padding = #1.0
262 This feature was sponsored by Andrew Sidwell and Trevor Bača.
265 Objects may be rotated using the @code{rotation} property.
266 @lilypond[ragged-right,fragment,relative=1]
268 \override Hairpin #'rotation = #'(20 -1 0)
269 g4\<^\markup { \rotate #180 "test" } b d f'\!
273 This feature was contributed by Erlend Aasland.
276 Hairpins now support circled tips (al niente notation).
277 @lilypond[ragged-right,fragment,relative=2]
279 \override Hairpin #'circled-tip = ##t
285 This feature was contributed by Erlend Aasland.
288 The MusicXML convertor has been sped up, and has rudimentary support
289 for percussion notation. It will also condense multi-bar rests to
290 enable part extraction.
293 The beam printing code has been completely rewritten, and now includes
294 support for feathered beaming,
296 @lilypond[ragged-right,fragment,relative=2]
297 \featherDurations #(ly:make-moment 5 4)
299 \override Beam #'grow-direction = #LEFT
306 Known bug: the \featherDuration command only works with very short music
309 This feature was sponsored by Jamie Bullock.
312 The @code{\note} markup command now also accepts note head styles.
314 @lilypond[ragged-right,fragment,relative=2]
316 \override #'(style . triangle) \note-by-number #2 #1 #1 = 100
320 This feature was sponsored by Jamie Bullock.
323 Tie chord formatting also works with arpegiated
326 @lilypond[ragged-right]
328 <e c a f>2~ <e c a f> |
329 \set tieWaitForNote = ##t
330 e8~ c~ a~ f~ <e' c a f>2 |
331 f,8~ a~ c~ e~ <f, a c e>2 |
336 This feature was sponsored by Steve Doonan.
344 For older news, go to
345 @uref{http://lilypond.org/doc/v2.8/Documentation/topdocs/NEWS.html},
346 or @uref{../,go back} to the Documentation index.