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