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