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