]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/topdocs/NEWS.tely
44ab684aca549787efbecc007f0e143bcafaf03a
[lilypond.git] / Documentation / topdocs / NEWS.tely
1 \input texinfo @c -*- coding: utf-8; mode: texinfo; -*-
2 @setfilename NEWS.info
3 @settitle NEWS
4
5 @ifhtml
6 @macro inputfileref{DIR,NAME}
7 @uref{../../\DIR\/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}@c
8 @end macro
9 @macro usermanref{NAME}
10 @inforef{\NAME\,,../user/lilypond/lilypond}@c
11 @end macro
12 @end ifhtml
13
14 @ifnothtml
15 @macro inputfileref{DIR,NAME}
16 @file{\DIR\/\NAME\}@c
17 @end macro
18 @macro usermanref{NAME}
19 See user manual, \NAME\
20 @end macro
21 @end ifnothtml
22
23
24 @macro textanchor{NAME}
25 @html
26 <a name="\NAME\"></a>
27 @end html
28 @end macro
29
30
31 @documentencoding utf-8
32 @documentlanguage en
33
34 @finalout
35
36 @ifnottex
37 @node Top
38 @top
39 @end ifnottex
40 @unnumbered New features in 2.9 since 2.8
41
42 @ifhtml
43 This document is also available in @uref{NEWS.pdf,PDF}. It's part of
44 the @uref{../,LilyPond Documentation} 
45 @end ifhtml
46
47
48
49
50 @itemize @bullet
51
52 @ignore
53
54 HINTS
55
56 * only show verbatim input for syntax/input changes
57
58 * try to be as brief possible in those cases
59
60 * don't try to provide real-world examples, they often get too big,
61 which scares away people.
62
63 * Write complete sentences.
64
65 * only show user-visible changes. 
66
67 @end ignore
68
69 @item Calculation of note head durations is now softcoded. 
70
71 @lilypond[relative=1,fragment,ragged-right]
72   %% use half heads for whole notes.
73   \override NoteHead #'duration-log = 1                                         
74   c1 c2 c4 c8[ c16 c]
75 @end lilypond
76
77
78 @c Please insert any new material above this line.  -gp
79
80 @item Chords can now be partially tied,
81
82 @lilypond[ragged-right,relative,fragment]
83 <c~ e g~ b>  <c e g b>
84 @end lilypond
85
86 This feature was sponsored by Steve Doonan.
87
88 @item Lyric extenders now have tunable padding.
89
90 This feature was sponsored by David Griffel.
91
92 @item
93 Instrument changes are better supported: names in the margin can be
94 changed half-way during a staff, and cues are printed automatically.
95
96 This feature was sponsored by Kieren MacMillan.
97
98 @item
99 Barlines can be dashed now,
100
101 @lilypond[relative,ragged-right,fragment]
102 c4 \bar "dashed" c4
103 @end lilypond
104
105 This feature was sponsored by Kieren MacMillan.
106
107 @item
108 Grace notes may be forced to use floating spacing, 
109
110 @lilypond[relative=2,ragged-right]
111 <<
112   \override Score.SpacingSpanner  #'strict-grace-spacing = ##t
113   \new Staff {
114      c'4
115      \afterGrace
116      c'4
117      { c'16[ c'8 c'16] }
118      c'4
119   }
120   \new Staff {
121      c'16[ c'16 c'16 c'16]
122      c'16[ c'16 c'16 c'16]
123      c'4
124   }
125 >>
126 @end lilypond
127
128 This feature was sponsored by Trevor Bača.
129
130
131 @item
132 Durations of grace notes are taken into account for spacing,
133
134 @lilypond[relative=2,ragged-right,fragment]
135   c
136   \grace { c8[ c16 d c8]  }
137   c
138 @end lilypond
139
140 This feature was sponsored by Trevor Bača.
141
142 @item
143 Tuplet brackets can be made to run to prefatory matter or
144 the next note
145
146 @lilypond[ragged-right]
147 \new RhythmicStaff {
148   \set tupletFullLength = ##t
149   \time 4/4
150   \times 4/5 {
151     c4 c1
152   }
153   \set tupletFullLengthNote = ##t
154   \time 2/4
155   \times 2/3 {
156     c4 c c 
157   }
158   \time 3/4
159   c4 
160 }
161 @end lilypond
162
163
164 This feature was sponsored by Trevor Bača.
165
166 @item
167 Falls and doits can be added to notes
168
169 @lilypond[fragment,ragged-right,relative=2]
170 \override Score.SpacingSpanner #'shortest-duration-space = #3.0
171 c4-\bendAfter #+5
172 c4-\bendAfter #-3
173 @end lilypond
174
175 This feature was sponsored by Anthony Youngman and Paul Scott.
176
177 @item
178 @code{lilypond-book} now includes support for PDF@TeX{}.
179
180 This feature was sponsored by David Roundy. 
181
182 @item
183 Nested tuplets can have different formatting for each nesting level,
184
185 @lilypond[ragged-right]
186 \new Staff {
187   \time 5/4
188   \tweak #'text #tuplet-number::calc-fraction-text
189   \times 5/3 {
190      \tweak #'text  #tuplet-number::calc-denominator-text
191      \times 2/3 {
192         c'8[ c'8 c'8]
193      }
194      \times 2/3 {
195         c'8[ c'8 c'8]
196      }
197      \times 2/3 {
198         c'8[ c'8 c'8]
199      }
200   }
201 }
202 @end lilypond
203
204 This feature was sponsored by Trevor Bača.
205
206
207 @item
208 New sections with different spacing parameters can be started with
209 @code{newSpacingSection}.  This is useful when there are  
210 sections with a different notions of long and short notes.
211
212 In the following example, the time signature change introduces a new
213 section, and hence the 16ths notes are spaced wider.
214
215 @lilypond[relative,fragment]
216   \time 2/4
217   c4 c8 c 
218   c8 c c4 c16[ c c8] c4
219
220   \newSpacingSection
221   \time 4/16
222   c16[ c  c8]
223 @end lilypond
224
225 This feature was sponsored by Trevor Bača, Michael Meixner and Vivian
226 Barty-Taylor.
227
228 @item
229 A new, automated testing technique has been added. It will detect
230 changes in the formatting automatically, which will make it easier to
231 spot regression errors in the future.
232
233 View @uref{../../test-results.html,test results}.
234
235 @item
236 Figured bass can also be added to @code{Staff} contexts directly. In
237 this case, their vertical position is adjusted automatically.
238
239 @lilypond[ragged-right,fragment]
240 <<
241   \new Staff = someUniqueName
242   \relative c'' {
243     c4 c'8 r8 c,4 c'
244   }
245
246   %% send to existing Staff.
247   \context Staff = someUniqueName 
248   \figuremode {
249     <4>4 <6 10>8 s8
250     
251     \set Staff.useBassFigureExtenders = ##t
252     <4 6>4 <4 6>
253   }
254 >>
255 @end lilypond
256
257 This feature was sponsored by Trent Johnston.
258
259 @item
260 Beams may be put on isolated stems, and beamlets may be paired by
261 setting the @code{max-beam-connect} property,
262
263 @lilypond[ragged-right,relative=2,fragment]
264   \override Stem #'max-beam-connect = #1
265   c16[ c16]   c32[] 
266 @end lilypond
267
268 This feature was sponsored by Trevor Bača.
269
270 @item
271 Beaming patterns obey the @code{beatGrouping} property.
272
273 @lilypond[ragged-right,relative=2,fragment]
274   \time 5/16
275   \set beatGrouping = #'(2 3)
276   c8[^"(2+3)" c16 c8]
277   \set beatGrouping = #'(3 2)
278   c8[^"(3+2)" c16 c8]
279 @end lilypond
280
281 This feature was sponsored by Trevor Bača.
282
283 @item
284 With the command @code{\transposedCueDuring} a cue's transposition can
285 be changed locally.  This can be used to prevent excessive ledger
286 lines on cues.
287
288 This feature was contributed by Werner Lemberg 
289
290 @item
291 By setting @code{hairpinToBarline}, hairpins will stop at
292 the barline preceding the ending note.
293
294 @lilypond[relative=2,fragment,ragged-right]
295 \set hairpinToBarline = ##t
296 \override Hairpin #'bound-padding = #1.0
297 c4\< c2. c4\!
298 @end lilypond
299
300 This feature was sponsored by Andrew Sidwell and Trevor Bača.
301
302 @item
303 Objects may be rotated using the @code{rotation} property.
304 @lilypond[ragged-right,fragment,relative=1]
305 {
306   \override Hairpin #'rotation = #'(20 -1 0)
307   g4\<^\markup { \rotate #180 "test" } b d f'\!
308 }
309 @end lilypond
310
311 This feature was contributed by Erlend Aasland.
312
313 @item
314 Hairpins now support circled tips (al niente notation).
315 @lilypond[ragged-right,fragment,relative=2]
316 {
317   \override Hairpin #'circled-tip = ##t
318   c2\< c\!
319   c4\> c\< c2\!
320 }
321 @end lilypond
322
323 This feature was contributed by Erlend Aasland.
324
325 @item 
326 The MusicXML convertor has been sped up, and has rudimentary support
327 for percussion notation.  It will also condense multi-bar rests to
328 enable part extraction.
329
330 @item
331 The beam printing code has been completely rewritten, and now includes
332 support for feathered beaming,
333
334 @lilypond[ragged-right,fragment,relative=2]
335 \featherDurations #(ly:make-moment 5 4) 
336 {
337   \override Beam #'grow-direction = #LEFT
338   c16[
339     c c c
340     c c c ]
341 }
342 @end lilypond 
343
344 Known bug: the \featherDuration command only works with very short music
345 snippets.
346
347 This feature was sponsored by Jamie Bullock.
348
349 @item
350 The @code{\note} markup command now also accepts note head styles.
351
352 @lilypond[ragged-right,fragment,relative=2]
353 c4^\markup {
354   \override #'(style . triangle) \note-by-number #2 #1 #1 = 100
355 }
356 @end lilypond
357
358 This feature was sponsored by Jamie Bullock.
359
360 @item
361 Tie chord formatting also works with arpegiated
362 ties.
363
364 @lilypond[ragged-right]
365 \relative c'' {
366   <e c a f>2~ <e c a f> |
367   \set tieWaitForNote = ##t
368   e8~ c~ a~ f~ <e' c a f>2 |
369   f,8~ a~ c~ e~ <f, a c e>2 |
370 }
371 @end lilypond
372
373
374 This feature was sponsored by Steve Doonan.
375
376
377 @end itemize
378
379
380
381 @ifhtml
382 For older news, go to
383 @uref{http://lilypond.org/doc/v2.8/Documentation/topdocs/NEWS.html},
384 or @uref{../,go back} to the Documentation index.
385
386
387 @end ifhtml
388
389 @bye