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