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