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