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