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