]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/topdocs/NEWS.tely
* scm/lily.scm (define-scheme-options): add paper-size option.
[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\/out-www/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}@c
8 @end macro
9 @macro usermanref{NAME}
10 @inforef{\NAME\,,../../user/out-www/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 @ifnottex
35 @node Top
36 @top
37 @end ifnottex
38 @unnumbered New features in 2.7 since 2.6
39
40 @ifhtml
41 This document is also available in @uref{NEWS.pdf,PDF}.
42 @end ifhtml
43
44
45
46
47 @itemize @bullet
48 @item
49 The default paper size may now be set from the command line using
50 @code{-dpaper-size}.
51
52 @item
53 Beamlets may stick out of the side of beams.
54
55
56 @lilypond[fragment,raggedright,relative=2]
57 {
58   \override Beam #'break-overshoot = #'(-0.5 . 0.5) 
59   \set stemLeftBeamCount = #2
60   c8[
61     c16
62     \set stemRightBeamCount = #3
63     c ]  
64 }
65 @end lilypond
66
67 This feature was sponsored by Trevor Bača.
68  
69 @item
70 Support for figured bass has been rewritten. Now it supports
71 continuation lines, and its figures, brackets, and alignments may
72 tuned separately.
73
74 @lilypond[raggedright,fragment]
75 <<
76 \relative { c4 c c c }
77 \figures {
78   \set useBassFigureExtenders = ##t
79   <6+ 4 3> <6 4 3> <4 3+> 
80 } >>
81 @end lilypond
82
83 This rewrite was sponsored by Trent Johnston.
84
85 @item  
86 Vertical alignments of staves can now be tuned easily for individual
87 systems.
88
89 @lilypond[raggedright]
90 #(set-global-staff-size 13)
91 \relative c'' <<
92   \new PianoStaff <<
93     \new Voice  {
94       c1
95       
96       \overrideProperty
97       #"Score.NonMusicalPaperColumn"
98       #'line-break-system-details
99       #'((fixed-alignment-extra-space . 15))
100       c
101
102     }
103     { 
104         c1\break 
105         c\break 
106     }
107   >>
108 >>
109 @end lilypond
110
111 This feature was sponsored by Nicolas Sceaux.
112
113 @item 
114 Vertical spacing for page layout can now be tuned for each system
115 individually.  The dimensions that can be tuned can be visualized.
116
117 @lilypond[verbatim]
118 #(set-default-paper-size "a7" 'landscape)
119 \book {
120  \score { { c4 } }
121  \paper { annotatespacing = ##t }
122 }
123 @end lilypond
124
125 These features were sponsored by Trevor Bača and Nicolas Sceaux.
126
127 @item
128 The slope of a stem-tremolo may be set manually
129
130 @lilypond[fragment,relative=1,raggedright]
131 c8:16[ 
132 \once \override StemTremolo #'slope = #0.45
133 c:16 c:16 c:16 ]
134 @end lilypond 
135
136 This feature was sponsored by Sven Axelsson.
137
138 @item
139 Laissez vibrer ties can be created with @code{\laissezVibrer},
140
141 @lilypond[fragment,raggedright,relative=1]
142   <c e g>\laissezVibrer r  <d f>\laissezVibrer
143 @end lilypond
144
145 This feature was sponsored by Henrik Frisk.
146
147 @item
148 The order of words in @code{\markup} commands may now be reversed by
149 setting the @code{text-direction} property. This is useful for
150 Right-to-Left languages like Hebrew.
151
152 This feature was sponsored by Aaron Mehl.
153
154 @item
155 Texts over multi measure rests can stretch the corresponding measure,
156 if the appropriate @code{spacing-procedure} property is set.
157
158 @lilypond[relative=2,fragment,raggedright]
159 \override MultiMeasureRestText #'spacing-procedure
160   = #Multi_measure_rest::set_text_rods
161 c1 R1 R1^"Very long long long text" 
162 @end lilypond
163
164 This feature was sponsored by Kris Shaffer.
165
166
167 @item @textanchor{tie-chords}
168 Formatting of ties in chords has been improved. Ties no longer collide
169 with note heads and stems. In addition, it is possible to manually
170 specify tie formatting
171
172 @lilypond[relative=2, fragment,raggedright]
173   <a c d f> ~ <a c d f>
174   
175   \override TieColumn #'tie-configuration =
176   #'((0 . -1)  (2 . -1) (5.5 . 1) (7 . 1))
177   <b d f g> ~ <b d f g>
178 @end lilypond
179
180 This improvement has been sponsored by Bertalan Fodor, Jay Hamilton,
181 Kieren MacMillan, Steve Doonan, Trevor Bača, and Vicente Solsona
182 Dell¡.
183
184 @item
185 Formatting of isolated, single ties has been improved. Now, ties avoid
186 staff lines, flags and dots, without compromising their shape.
187
188 @lilypond[fragment,raggedright]
189 \relative c'' {
190   \stemUp
191   c16 c2...~ c16 ~ c2... |
192   c4~c8 c8~c16 c16~c32 c16.~[ c64]~ c64[ c8..] |
193 }
194 @end lilypond
195
196 This improvement has been sponsored by Bertalan Fodor, Jay Hamilton,
197 Kieren MacMillan, Steve Doonan, Trevor Bača, and Vicente Solsona
198 Dell¡.
199  
200
201 @item  @textanchor{repeat-counter}
202 With the @code{countPercentRepeats} property,
203 percent repeats get incremental numbers to indicate the accumulated repeat count.
204
205 @lilypond[relative=2,fragment,raggedright]
206 \set countPercentRepeats = ##t
207 \repeat percent 4 { c1 }
208 \time 2/4
209 \repeat percent 4 { c2 c2 }
210 @end lilypond
211
212 This feature was sponsored by Yoshinobu Ishizaki
213                   
214 @item
215 Text scripts such as fingering instructions and dynamics avoid
216 collisions with slurs
217
218 @lilypond[fragment,relative=1]
219 {
220   b_1( f'_1_2_3 c_3_4_5 a)
221   b( f'\p b,)
222   c-2_\markup { \italic {"cresc."}} ( f_\markup {x} c)
223 }
224 @end lilypond
225
226 @item
227 Tuplets can be made to reach the next non-tuplet note by setting the
228 @code{tupletFullLength}  property,
229
230 @lilypond[fragment,relative=2]
231 \new Voice \with {
232   \remove Forbid_line_break_engraver
233   allowBeamBreak = ##t
234 }
235 {
236   \set Score.proportionalNotationDuration = #(ly:make-moment 1 32)
237   \set tupletFullLength = ##t
238   \times 2/3 { c8[ c c] }
239   c4
240 }
241 @end lilypond  
242
243 This feature was sponsored by Trevor Bača. 
244
245 @item
246 When @code{strict-note-spacing} is set, notes are spaced without regard
247 for clefs, bar lines, and grace notes. For example,
248
249 @lilypond[fragment,relative=2]
250 \override Score.SpacingSpanner #'strict-note-spacing = ##t 
251 \new Staff { c8[ c \clef alto c \grace { c16[ c] } c8 c c]  c32[ c32] }
252 @end lilypond
253
254 This feature was sponsored by Trevor Bača. 
255
256 @item
257 Beams support the @code{break-overshoot} property, for example
258
259 @lilypond[relative=2,fragment]
260 \set allowBeamBreak = ##t
261 \override Beam #'break-overshoot = #'(1.0 . 2.0)
262 c2.. c8[ \break c]
263 @end lilypond
264  
265 This feature was sponsored by Trevor Bača. 
266
267 @item
268 Proportional notation is supported.  Notes can be spaced proportional
269 to their time-difference by assigning a duration to
270 @code{proportionalNotationDuration}. For example,
271
272 @lilypond[relative=2,fragment,raggedright]
273 <<
274   \set Score.proportionalNotationDuration = #(ly:make-moment 1 16)
275   \new Staff { c8[ c c c c c]  c4 c2 r2 }
276   \new Staff { c2  \times 2/3 { c8 c c } c4 c1 }
277 >>
278 @end lilypond
279
280 This feature was sponsored by Trevor Bača.
281
282 @item 
283 Symbol sizes (e.g. accidentals) are disregarded for spacing if
284 @code{uniform-stretching} of the @code{SpacingSpanner} grob is set,
285
286
287 @lilypond[relative=2,fragment]
288 <<
289   \override  Score.SpacingSpanner #'uniform-stretching = ##t 
290   \new Staff { c16[ c c c c c c c c c16]  }
291   \new Staff {
292     \times 6/7 { c16 c c cis c c c }
293     c8[ c32 c32 c16]
294   }
295 >>
296 @end lilypond
297
298 This feature was sponsored by Trevor Bača.
299  
300 @item
301 Endings of broken tuplet brackets can be tuned.  For example, you can
302 add arrows to the brackets,
303
304 @lilypond[fragment,raggedright,relative=2]
305 \override TupletBracket
306  #'edge-text = #(cons
307              (markup #:arrow-head X LEFT #f)
308              (markup #:arrow-head X RIGHT #f))
309 \times 4/5 {
310  c c c \bar "empty" \break c c
311 }
312 @end lilypond
313
314 This feature was sponsored by Trevor Bača.
315
316
317 @item @textanchor{arrow-glyph}
318 Arrow heads were added to the Feta font.
319
320 @lilypond[]
321 \lyrics {
322   \markup {
323     filled, to the right:  \hspace #2.0 \fontsize #6 \arrow-head #0 #1 ##t
324     open, down: \hspace #2.0 \fontsize #6 \arrow-head #1 #-1 ##f
325   }
326 }
327 @end lilypond
328
329 These glyphs have been sponsored by Trevor Bača.
330
331
332 @item
333 Nested tuplets are automatically positioned,
334
335 @lilypond[fragment,raggedright,relative=2]
336 \set tupletNumberFormatFunction = #fraction-tuplet-formatter
337 \times 4/6 {
338   a4 a 
339   \times 3/5 { a a a a a }
340 }
341 @end lilypond
342
343 This feature was sponsored by Trevor Bača.
344
345 @item
346 Music expressions can be displayed, in LilyPond notation, using the
347 new @code{\displayLilyMusic} function. For instance:
348 @verbatim
349 \displayLilyMusic \transpose c a, { c d e f }
350 @end verbatim
351 will print:
352 @verbatim
353 { a, b, cis d }
354 @end verbatim
355
356 This feature was contributed by Nicolas Sceaux.
357
358 @item
359 The current bar number may be checked with @code{\barNumberCheck}, eg.
360
361 @verbatim
362 \barNumberCheck #22
363 @end verbatim
364
365 @noindent
366 will print a warning if it doesn't happen in measure 22.
367  
368 @item
369 If @code{showLastLength} is set, only the last few measures of a piece
370 are rendered, which speeds up correcting scores. For example, setting
371
372 @verbatim
373 showLastLength = R1*5
374 \score { ... }
375 @end verbatim
376
377 @noindent
378 will render only the last five measures (assuming 4/4 time signature)
379 of a piece.
380
381 @item @textanchor{simple-melismata}
382 Melismata can be specified simply in the lyrics now, eg.
383
384 @lilypond[relative=1,verbatim,fragment]
385 {
386   c d( e) f e d
387 } \addlyrics {
388   Ky -- _ _ ri e
389 }
390 @end lilypond 
391
392 This feature was sponsored by Nancho Alvarez 
393
394 @item
395 Suggested accidentals (for notating musica ficta) may be switched on
396 with @code{suggestAccidentals}
397
398 @lilypond[verbatim,fragment,relative=2]
399 \set suggestAccidentals = ##t
400 ais bis
401 @end lilypond 
402
403 This feature was sponsored by Nancho Alvarez.
404
405 @item
406 The setting @code{whichBar} and time-bookkeeping is now split into a
407 @code{Default_bar_line_engraver} and @code{Timing_translator}
408 respectively.
409
410 @item @textanchor{pitched-trill}
411 Explicit pitches may be added to trills,
412
413 @lilypond[relative,verbatim,fragment]
414   \pitchedTrill c4\startTrillSpan fis f\stopTrillSpan
415 @end lilypond 
416
417 This feature was sponsored by D. Josiah Boothby and Jamie Bullock
418
419 @item
420 Markup now supports formatting of text paragraphs, using
421 @code{\wordwrap} and @code{\justify}.
422
423 This feature was sponsored by Sven Axelsson.
424 @end itemize
425
426 @ifhtml
427 For older news, go to
428 @uref{http://lilypond.org/doc/v2.6/Documentation/topdocs/out-www/NEWS.html}.
429 @end ifhtml
430
431 @bye