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