1 \input texinfo @c -*- coding: utf-8; mode: texinfo; -*-
6 @macro inputfileref{DIR,NAME}
7 @uref{../../../\DIR\/out-www/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}@c
9 @macro usermanref{NAME}
10 @inforef{\NAME\,,../../user/out-www/lilypond/lilypond}@c
15 @macro inputfileref{DIR,NAME}
18 @macro usermanref{NAME}
19 See user manual, \NAME\
24 @macro textanchor{NAME}
31 @documentencoding utf-8
38 @unnumbered New features in 2.7 since 2.6
41 This document is also available in @uref{NEWS.pdf,PDF}.
49 Support for figured bass has been rewritten. Now it supports
50 continuation lines, slashed figures, and its figures, brackets, and alignments may
53 @lilypond[raggedright,fragment]
55 \relative { c4 c c c }
57 \set useBassFigureExtenders = ##t
58 <6+ 4 3> <6 4 3> <4 3+> <5/ 7/\+>
62 This rewrite was sponsored by Trent Johnston and John Mandereau.
65 For each grob, a subproperty in @code{callbacks} property defines the
66 procedure which computes it. This is major internal cleanup, which
67 also provides advanced tweakability for power users. For example,
70 \override Beam #'callbacks #'direction
72 (if (> 4 (ly:grob-array-length (ly:grob-object grob 'stems)))
78 With this code fragment, the direction of a beam is decided to be up
79 or down, depending on the number of stems in the beam.
82 Subproperties, like the @code{details} field of @code{Slur} and
83 @code{Tie} may now be tuned with @code{\override}. For example,
86 \override Stem #'details #'beamed-lengths = #'(4 4 3)
90 shortens the stems in beams.
93 The default paper size may now be set from the command line using
97 Beamlets may stick out of the side of beams.
100 @lilypond[fragment,raggedright,relative=2]
102 \override Beam #'break-overshoot = #'(-0.5 . 0.5)
103 \set stemLeftBeamCount = #2
106 \set stemRightBeamCount = #3
111 This feature was sponsored by Trevor Bača.
116 Vertical alignments of staves can now be tuned easily for individual
119 @lilypond[raggedright]
120 #(set-global-staff-size 13)
127 #"Score.NonMusicalPaperColumn"
128 #'line-break-system-details
129 #'((fixed-alignment-extra-space . 15))
141 This feature was sponsored by Nicolas Sceaux.
144 Vertical spacing for page layout can now be tuned for each system
145 individually. The dimensions that can be tuned can be visualized.
148 #(set-default-paper-size "a7" 'landscape)
151 \paper { annotatespacing = ##t }
155 These features were sponsored by Trevor Bača and Nicolas Sceaux.
158 The slope of a stem-tremolo may be set manually
160 @lilypond[fragment,relative=1,raggedright]
162 \once \override StemTremolo #'slope = #0.45
166 This feature was sponsored by Sven Axelsson.
169 Laissez vibrer ties can be created with @code{\laissezVibrer},
171 @lilypond[fragment,raggedright,relative=1]
172 <c e g>\laissezVibrer r <d f>\laissezVibrer
175 This feature was sponsored by Henrik Frisk.
178 The order of words in @code{\markup} commands may now be reversed by
179 setting the @code{text-direction} property. This is useful for
180 Right-to-Left languages like Hebrew.
182 This feature was sponsored by Aaron Mehl.
185 Texts over multi measure rests can stretch the corresponding measure,
186 if the appropriate @code{spring-and-rods} callback is set.
188 @lilypond[relative=2,fragment,raggedright]
189 \override MultiMeasureRestText #'callbacks #'springs-and-rods
190 = #Multi_measure_rest::set_text_rods
191 c1 R1 R1^"Very long long long text"
194 This feature was sponsored by Kris Shaffer.
197 @item @textanchor{tie-chords}
198 Formatting of ties in chords has been improved. Ties no longer collide
199 with note heads and stems. In addition, it is possible to manually
200 specify tie formatting
202 @lilypond[relative=2, fragment,raggedright]
203 <a c d f> ~ <a c d f>
205 \override TieColumn #'tie-configuration =
206 #'((0 . -1) (2 . -1) (5.5 . 1) (7 . 1))
207 <b d f g> ~ <b d f g>
210 This improvement has been sponsored by Bertalan Fodor, Jay Hamilton,
211 Kieren MacMillan, Steve Doonan, Trevor Bača, and Vicente Solsona
215 Formatting of isolated, single ties has been improved. Now, ties avoid
216 staff lines, flags and dots, without compromising their shape.
218 @lilypond[fragment,raggedright]
221 c16 c2...~ c16 ~ c2... |
222 c4~c8 c8~c16 c16~c32 c16.~[ c64]~ c64[ c8..] |
226 This improvement has been sponsored by Bertalan Fodor, Jay Hamilton,
227 Kieren MacMillan, Steve Doonan, Trevor Bača, and Vicente Solsona
231 @item @textanchor{repeat-counter}
232 With the @code{countPercentRepeats} property,
233 percent repeats get incremental numbers to indicate the accumulated repeat count.
235 @lilypond[relative=2,fragment,raggedright]
236 \set countPercentRepeats = ##t
237 \repeat percent 4 { c1 }
239 \repeat percent 4 { c2 c2 }
242 This feature was sponsored by Yoshinobu Ishizaki
245 Text scripts such as fingering instructions and dynamics avoid
246 collisions with slurs
248 @lilypond[fragment,relative=1]
250 b_1( f'_1_2_3 c_3_4_5 a)
252 c-2_\markup { \italic {"cresc."}} ( f_\markup {x} c)
257 Tuplets can be made to reach the next non-tuplet note by setting the
258 @code{tupletFullLength} property,
260 @lilypond[fragment,relative=2]
262 \remove Forbid_line_break_engraver
266 \set Score.proportionalNotationDuration = #(ly:make-moment 1 32)
267 \set tupletFullLength = ##t
268 \times 2/3 { c8[ c c] }
273 This feature was sponsored by Trevor Bača.
276 When @code{strict-note-spacing} is set, notes are spaced without regard
277 for clefs, bar lines, and grace notes. For example,
279 @lilypond[fragment,relative=2]
280 \override Score.SpacingSpanner #'strict-note-spacing = ##t
281 \new Staff { c8[ c \clef alto c \grace { c16[ c] } c8 c c] c32[ c32] }
284 This feature was sponsored by Trevor Bača.
287 Beams support the @code{break-overshoot} property, for example
289 @lilypond[relative=2,fragment]
290 \set allowBeamBreak = ##t
291 \override Beam #'break-overshoot = #'(1.0 . 2.0)
295 This feature was sponsored by Trevor Bača.
298 Proportional notation is supported. Notes can be spaced proportional
299 to their time-difference by assigning a duration to
300 @code{proportionalNotationDuration}. For example,
302 @lilypond[relative=2,fragment,raggedright]
304 \set Score.proportionalNotationDuration = #(ly:make-moment 1 16)
305 \new Staff { c8[ c c c c c] c4 c2 r2 }
306 \new Staff { c2 \times 2/3 { c8 c c } c4 c1 }
310 This feature was sponsored by Trevor Bača.
313 Symbol sizes (e.g. accidentals) are disregarded for spacing if
314 @code{uniform-stretching} of the @code{SpacingSpanner} grob is set,
317 @lilypond[relative=2,fragment]
319 \override Score.SpacingSpanner #'uniform-stretching = ##t
320 \new Staff { c16[ c c c c c c c c c16] }
322 \times 6/7 { c16 c c cis c c c }
328 This feature was sponsored by Trevor Bača.
331 Endings of broken tuplet brackets can be tuned. For example, you can
332 add arrows to the brackets,
334 @lilypond[fragment,raggedright,relative=2]
335 \override TupletBracket
337 (markup #:arrow-head X LEFT #f)
338 (markup #:arrow-head X RIGHT #f))
340 c c c \bar "empty" \break c c
344 This feature was sponsored by Trevor Bača.
347 @item @textanchor{arrow-glyph}
348 Arrow heads were added to the Feta font.
353 filled, to the right: \hspace #2.0 \fontsize #6 \arrow-head #0 #1 ##t
354 open, down: \hspace #2.0 \fontsize #6 \arrow-head #1 #-1 ##f
359 These glyphs have been sponsored by Trevor Bača.
363 Nested tuplets are automatically positioned,
365 @lilypond[fragment,raggedright,relative=2]
366 \set tupletNumberFormatFunction = #fraction-tuplet-formatter
369 \times 3/5 { a a a a a }
373 This feature was sponsored by Trevor Bača.
376 Music expressions can be displayed, in LilyPond notation, using the
377 new @code{\displayLilyMusic} function. For instance:
379 \displayLilyMusic \transpose c a, { c d e f }
386 This feature was contributed by Nicolas Sceaux.
389 The current bar number may be checked with @code{\barNumberCheck}, eg.
396 will print a warning if it doesn't happen in measure 22.
399 If @code{showLastLength} is set, only the last few measures of a piece
400 are rendered, which speeds up correcting scores. For example, setting
403 showLastLength = R1*5
408 will render only the last five measures (assuming 4/4 time signature)
411 @item @textanchor{simple-melismata}
412 Melismata can be specified simply in the lyrics now, eg.
414 @lilypond[relative=1,verbatim,fragment]
422 This feature was sponsored by Nancho Alvarez
425 Suggested accidentals (for notating musica ficta) may be switched on
426 with @code{suggestAccidentals}
428 @lilypond[verbatim,fragment,relative=2]
429 \set suggestAccidentals = ##t
433 This feature was sponsored by Nancho Alvarez.
436 The setting @code{whichBar} and time-bookkeeping is now split into a
437 @code{Default_bar_line_engraver} and @code{Timing_translator}
440 @item @textanchor{pitched-trill}
441 Explicit pitches may be added to trills,
443 @lilypond[relative,verbatim,fragment]
444 \pitchedTrill c4\startTrillSpan fis f\stopTrillSpan
447 This feature was sponsored by D. Josiah Boothby and Jamie Bullock
450 Markup now supports formatting of text paragraphs, using
451 @code{\wordwrap} and @code{\justify}.
453 This feature was sponsored by Sven Axelsson.
457 For older news, go to
458 @uref{http://lilypond.org/doc/v2.6/Documentation/topdocs/out-www/NEWS.html}.