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