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