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