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