]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/topdocs/NEWS.tely
some useless statistics.
[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 @item Balloon texts can be entered more ergonomically, and are no
69 longer clipped from the output.
70
71 @lilypond[fragment,ragged-right,relative=1]
72 \new Voice \with {\consists "Balloon_engraver" }
73 {
74   \balloonGrobText #'Stem #'(3 . 4) \markup { "I'm a Stem" }
75   <c-\balloonText #'(-2 . -2) \markup { \simple #"hoi" }  >8
76 }
77 @end lilypond
78  
79
80 @item Slurs now avoid clefs and key changes.
81  
82 @lilypond[fragment,ragged-right]
83 \new Staff { \clef bass c^( \clef "G" g') } 
84 @end lilypond
85
86 @item The @code{FretBoards} context will generate guitar frettings
87 automatically,
88
89 @lilypond[fragment,relative=0,verbatim,ragged-right]
90 \new FretBoards { <d\5 fis a d fis> }
91 @end lilypond
92
93 This feature was sponsored by Rick Hansen. 
94
95 @item Horizontal and vertical spacing are now done at the same time
96 so that pages are filled more evenly.
97
98 @item The page breaking algorithm is capable of detecting page turns
99 and formatting the music accordingly.
100
101 @c Insert any new material above this line.  -gp
102
103 @item Guitar right hand fingerings may
104 now also be added,
105
106 @lilypond[fragment,relative=1,ragged-right]
107 \relative 
108 {
109   \set strokeFingerOrientations = #'(right) % up left down
110   \set fingeringOrientations = #'(down left up) % up left down
111   \set stringNumberOrientations = #'(down up left) % (up right down)
112   <c-1\4
113    -\rightHandFinger #1
114    e-2\5
115    -\rightHandFinger #2
116    g-3\6
117    -\rightHandFinger #3
118    >
119 }
120 @end lilypond
121
122 This feature was sponsored by William Wilson.
123
124 @item By defining a clip region, a cutout EPS file of a number of measures
125 may be generated from the complete score.  Hence, it is no longer
126 necessary to create separate files to create extracts of (long)
127 scores.  An example is shown in
128 @file{input/regression/clip-systems.ly}.
129
130 This feature was sponsored by Rick Hansen.
131
132
133 @item Lyric texts may include tie symbols by using the @code{~}
134 symbol,
135
136 @lilypond[relative=1,fragment,ragged-right]
137   { c4 f2 g4 }
138   \addlyrics {
139     o la~oo ah
140   } 
141 @end lilypond
142
143 @item Calculation of note head durations is now softcoded. 
144
145 @lilypond[relative=1,fragment,ragged-right]
146   %% use half heads for whole notes.
147   \override NoteHead #'duration-log = 1                                         
148   c1 c2 c4 c8[ c16 c]
149 @end lilypond
150
151 @item Chords can now be partially tied,
152
153 @lilypond[ragged-right,relative,fragment]
154 <c~ e g~ b>  <c e g b>
155 @end lilypond
156
157 This feature was sponsored by Steve Doonan.
158
159 @item Lyric extenders now have tunable padding.
160
161 This feature was sponsored by David Griffel.
162
163 @item
164 Instrument changes are better supported: names in the margin can be
165 changed half-way during a staff, and cues are printed automatically.
166
167 This feature was sponsored by Kieren MacMillan.
168
169 @item
170 Barlines can be dashed now,
171
172 @lilypond[relative,ragged-right,fragment]
173 c4 \bar "dashed" c4
174 @end lilypond
175
176 This feature was sponsored by Kieren MacMillan.
177
178 @item
179 Grace notes may be forced to use floating spacing, 
180
181 @lilypond[relative=2,ragged-right]
182 <<
183   \override Score.SpacingSpanner  #'strict-grace-spacing = ##t
184   \new Staff {
185      c'4
186      \afterGrace
187      c'4
188      { c'16[ c'8 c'16] }
189      c'4
190   }
191   \new Staff {
192      c'16[ c'16 c'16 c'16]
193      c'16[ c'16 c'16 c'16]
194      c'4
195   }
196 >>
197 @end lilypond
198
199 This feature was sponsored by Trevor Bača.
200
201
202 @item
203 Durations of grace notes are taken into account for spacing,
204
205 @lilypond[relative=2,ragged-right,fragment]
206   c
207   \grace { c8[ c16 d c8]  }
208   c
209 @end lilypond
210
211 This feature was sponsored by Trevor Bača.
212
213 @item
214 Tuplet brackets can be made to run to prefatory matter or
215 the next note
216
217 @lilypond[ragged-right]
218 \new RhythmicStaff {
219   \set tupletFullLength = ##t
220   \time 4/4
221   \times 4/5 {
222     c4 c1
223   }
224   \set tupletFullLengthNote = ##t
225   \time 2/4
226   \times 2/3 {
227     c4 c c 
228   }
229   \time 3/4
230   c4 
231 }
232 @end lilypond
233
234
235 This feature was sponsored by Trevor Bača.
236
237 @item
238 Falls and doits can be added to notes
239
240 @lilypond[fragment,ragged-right,relative=2]
241 \override Score.SpacingSpanner #'shortest-duration-space = #3.0
242 c4-\bendAfter #+5
243 c4-\bendAfter #-3
244 @end lilypond
245
246 This feature was sponsored by Anthony Youngman and Paul Scott.
247
248 @item
249 @code{lilypond-book} now includes support for PDF@TeX{}.
250
251 This feature was sponsored by David Roundy. 
252
253 @item
254 Nested tuplets can have different formatting for each nesting level,
255
256 @lilypond[ragged-right]
257 \new Staff {
258   \time 5/4
259   \tweak #'text #tuplet-number::calc-fraction-text
260   \times 5/3 {
261      \tweak #'text  #tuplet-number::calc-denominator-text
262      \times 2/3 {
263         c'8[ c'8 c'8]
264      }
265      \times 2/3 {
266         c'8[ c'8 c'8]
267      }
268      \times 2/3 {
269         c'8[ c'8 c'8]
270      }
271   }
272 }
273 @end lilypond
274
275 This feature was sponsored by Trevor Bača.
276
277
278 @item
279 New sections with different spacing parameters can be started with
280 @code{newSpacingSection}.  This is useful when there are  
281 sections with a different notions of long and short notes.
282
283 In the following example, the time signature change introduces a new
284 section, and hence the 16ths notes are spaced wider.
285
286 @lilypond[relative,fragment]
287   \time 2/4
288   c4 c8 c 
289   c8 c c4 c16[ c c8] c4
290
291   \newSpacingSection
292   \time 4/16
293   c16[ c  c8]
294 @end lilypond
295
296 This feature was sponsored by Trevor Bača, Michael Meixner and Vivian
297 Barty-Taylor.
298
299 @item
300 A new, automated testing technique has been added. It will detect
301 changes in the formatting automatically, which will make it easier to
302 spot regression errors in the future.
303
304 View @uref{../../test-results.html,test results}.
305
306 @item
307 Figured bass can also be added to @code{Staff} contexts directly. In
308 this case, their vertical position is adjusted automatically.
309
310 @lilypond[ragged-right,fragment]
311 <<
312   \new Staff = someUniqueName
313   \relative c'' {
314     c4 c'8 r8 c,4 c'
315   }
316
317   %% send to existing Staff.
318   \context Staff = someUniqueName 
319   \figuremode {
320     <4>4 <6 10>8 s8
321     
322     \set Staff.useBassFigureExtenders = ##t
323     <4 6>4 <4 6>
324   }
325 >>
326 @end lilypond
327
328 This feature was sponsored by Trent Johnston.
329
330 @item
331 Beams may be put on isolated stems, and beamlets may be paired by
332 setting the @code{max-beam-connect} property,
333
334 @lilypond[ragged-right,relative=2,fragment]
335   \override Stem #'max-beam-connect = #1
336   c16[ c16]   c32[] 
337 @end lilypond
338
339 This feature was sponsored by Trevor Bača.
340
341 @item
342 Beaming patterns obey the @code{beatGrouping} property.
343
344 @lilypond[ragged-right,relative=2,fragment]
345   \time 5/16
346   \set beatGrouping = #'(2 3)
347   c8[^"(2+3)" c16 c8]
348   \set beatGrouping = #'(3 2)
349   c8[^"(3+2)" c16 c8]
350 @end lilypond
351
352 This feature was sponsored by Trevor Bača.
353
354 @item
355 With the command @code{\transposedCueDuring} a cue's transposition can
356 be changed locally.  This can be used to prevent excessive ledger
357 lines on cues.
358
359 This feature was contributed by Werner Lemberg 
360
361 @item
362 By setting @code{hairpinToBarline}, hairpins will stop at
363 the barline preceding the ending note.
364
365 @lilypond[relative=2,fragment,ragged-right]
366 \set hairpinToBarline = ##t
367 \override Hairpin #'bound-padding = #1.0
368 c4\< c2. c4\!
369 @end lilypond
370
371 This feature was sponsored by Andrew Sidwell and Trevor Bača.
372
373 @item
374 Objects may be rotated using the @code{rotation} property.
375 @lilypond[ragged-right,fragment,relative=1]
376 {
377   \override Hairpin #'rotation = #'(20 -1 0)
378   g4\<^\markup { \rotate #180 "test" } b d f'\!
379 }
380 @end lilypond
381
382 This feature was contributed by Erlend Aasland.
383
384 @item
385 Hairpins now support circled tips (al niente notation).
386 @lilypond[ragged-right,fragment,relative=2]
387 {
388   \override Hairpin #'circled-tip = ##t
389   c2\< c\!
390   c4\> c\< c2\!
391 }
392 @end lilypond
393
394 This feature was contributed by Erlend Aasland.
395
396 @item 
397 The MusicXML convertor has been sped up, and has rudimentary support
398 for percussion notation.  It will also condense multi-bar rests to
399 enable part extraction.
400
401 @item
402 The beam printing code has been completely rewritten, and now includes
403 support for feathered beaming,
404
405 @lilypond[ragged-right,fragment,relative=2]
406 \featherDurations #(ly:make-moment 5 4) 
407 {
408   \override Beam #'grow-direction = #LEFT
409   c16[
410     c c c
411     c c c ]
412 }
413 @end lilypond 
414
415 Known bug: the \featherDuration command only works with very short music
416 snippets.
417
418 This feature was sponsored by Jamie Bullock.
419
420 @item
421 The @code{\note} markup command now also accepts note head styles.
422
423 @lilypond[ragged-right,fragment,relative=2]
424 c4^\markup {
425   \override #'(style . triangle) \note-by-number #2 #1 #1 = 100
426 }
427 @end lilypond
428
429 This feature was sponsored by Jamie Bullock.
430
431 @item
432 Tie chord formatting also works with arpegiated
433 ties.
434
435 @lilypond[ragged-right]
436 \relative c'' {
437   <e c a f>2~ <e c a f> |
438   \set tieWaitForNote = ##t
439   e8~ c~ a~ f~ <e' c a f>2 |
440   f,8~ a~ c~ e~ <f, a c e>2 |
441 }
442 @end lilypond
443
444
445 This feature was sponsored by Steve Doonan.
446
447
448 @end itemize
449
450
451
452 @ifhtml
453 For older news, go to
454 @uref{http://lilypond.org/doc/v2.8/Documentation/topdocs/NEWS.html},
455 or @uref{../,go back} to the Documentation index.
456
457
458 @end ifhtml
459
460 @bye