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