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}.
50 Each grob property can be a procedure. If this is the case, it is
51 assumed to be a routine that calculates said property. This is a
52 major internal cleanup, which also provides advanced tweakability for
53 power users. For example,
56 \override Beam #'direction
58 (if (> 4 (ly:grob-array-length (ly:grob-object grob 'stems)))
64 With this code fragment, the direction of a beam is decided to be up
65 or down, depending on the number of stems in the beam.
69 Support for figured bass has been rewritten. Now it supports
70 continuation lines, slashed figures, and its figures, brackets, and alignments may
73 @lilypond[raggedright,fragment]
75 \relative { c4 c c c }
77 \set useBassFigureExtenders = ##t
78 <6+ 4 3> <6 4 3> <4 3+> <5/ 7/\+>
82 This rewrite was sponsored by Trent Johnston and John Mandereau.
85 Subproperties, like the @code{details} field of @code{Slur} and
86 @code{Tie} may now be tuned with @code{\override}. For example,
89 \override Stem #'details #'beamed-lengths = #'(4 4 3)
93 shortens the stems in beams.
96 The default paper size may now be set from the command line using
100 Beamlets may stick out of the side of beams.
103 @lilypond[fragment,raggedright,relative=2]
105 \override Beam #'break-overshoot = #'(-0.5 . 0.5)
106 \set stemLeftBeamCount = #2
109 \set stemRightBeamCount = #3
114 This feature was sponsored by Trevor Bača.
119 Vertical alignments of staves can now be tuned easily for individual
122 @lilypond[raggedright]
123 #(set-global-staff-size 13)
130 #"Score.NonMusicalPaperColumn"
131 #'line-break-system-details
132 #'((fixed-alignment-extra-space . 15))
144 This feature was sponsored by Nicolas Sceaux.
147 Vertical spacing for page layout can now be tuned for each system
148 individually. The dimensions that can be tuned can be visualized.
151 #(set-default-paper-size "a7" 'landscape)
154 \paper { annotatespacing = ##t }
158 These features were sponsored by Trevor Bača and Nicolas Sceaux.
161 The slope of a stem-tremolo may be set manually
163 @lilypond[fragment,relative=1,raggedright]
165 \once \override StemTremolo #'slope = #0.45
169 This feature was sponsored by Sven Axelsson.
172 Laissez vibrer ties can be created with @code{\laissezVibrer},
174 @lilypond[fragment,raggedright,relative=1]
175 <c e g>\laissezVibrer r <d f>\laissezVibrer
178 This feature was sponsored by Henrik Frisk.
181 The order of words in @code{\markup} commands may now be reversed by
182 setting the @code{text-direction} property. This is useful for
183 Right-to-Left languages like Hebrew.
185 This feature was sponsored by Aaron Mehl.
188 Texts over multi measure rests can stretch the corresponding measure,
189 if the appropriate @code{spring-and-rods} callback is set.
191 @lilypond[relative=2,fragment,raggedright]
192 \override MultiMeasureRestText #'springs-and-rods
193 = #Multi_measure_rest::set_text_rods
194 c1 R1 R1^"Very long long long text"
197 This feature was sponsored by Kris Shaffer.
200 @item @textanchor{tie-chords}
201 Formatting of ties in chords has been improved. Ties no longer collide
202 with note heads and stems. In addition, it is possible to manually
203 specify tie formatting
205 @lilypond[relative=2, fragment,raggedright]
206 <a c d f> ~ <a c d f>
208 \override TieColumn #'tie-configuration =
209 #'((0 . -1) (2 . -1) (5.5 . 1) (7 . 1))
210 <b d f g> ~ <b d f g>
213 This improvement has been sponsored by Bertalan Fodor, Jay Hamilton,
214 Kieren MacMillan, Steve Doonan, Trevor Bača, and Vicente Solsona
218 Formatting of isolated, single ties has been improved. Now, ties avoid
219 staff lines, flags and dots, without compromising their shape.
221 @lilypond[fragment,raggedright]
224 c16 c2...~ c16 ~ c2... |
225 c4~c8 c8~c16 c16~c32 c16.~[ c64]~ c64[ c8..] |
229 This improvement has been sponsored by Bertalan Fodor, Jay Hamilton,
230 Kieren MacMillan, Steve Doonan, Trevor Bača, and Vicente Solsona
234 @item @textanchor{repeat-counter}
235 With the @code{countPercentRepeats} property,
236 percent repeats get incremental numbers to indicate the accumulated repeat count.
238 @lilypond[relative=2,fragment,raggedright]
239 \set countPercentRepeats = ##t
240 \repeat percent 4 { c1 }
242 \repeat percent 4 { c2 c2 }
245 This feature was sponsored by Yoshinobu Ishizaki
248 Text scripts such as fingering instructions and dynamics avoid
249 collisions with slurs
251 @lilypond[fragment,relative=1]
253 b_1( f'_1_2_3 c_3_4_5 a)
255 c-2_\markup { \italic {"cresc."}} ( f_\markup {x} c)
260 Tuplets can be made to reach the next non-tuplet note by setting the
261 @code{tupletFullLength} property,
263 @lilypond[fragment,relative=2]
265 \remove Forbid_line_break_engraver
269 \set Score.proportionalNotationDuration = #(ly:make-moment 1 32)
270 \set tupletFullLength = ##t
271 \times 2/3 { c8[ c c] }
276 This feature was sponsored by Trevor Bača.
279 When @code{strict-note-spacing} is set, notes are spaced without regard
280 for clefs, bar lines, and grace notes. For example,
282 @lilypond[fragment,relative=2]
283 \override Score.SpacingSpanner #'strict-note-spacing = ##t
284 \new Staff { c8[ c \clef alto c \grace { c16[ c] } c8 c c] c32[ c32] }
287 This feature was sponsored by Trevor Bača.
290 Beams support the @code{break-overshoot} property, for example
292 @lilypond[relative=2,fragment]
293 \set allowBeamBreak = ##t
294 \override Beam #'break-overshoot = #'(1.0 . 2.0)
298 This feature was sponsored by Trevor Bača.
301 Proportional notation is supported. Notes can be spaced proportional
302 to their time-difference by assigning a duration to
303 @code{proportionalNotationDuration}. For example,
305 @lilypond[relative=2,fragment,raggedright]
307 \set Score.proportionalNotationDuration = #(ly:make-moment 1 16)
308 \new Staff { c8[ c c c c c] c4 c2 r2 }
309 \new Staff { c2 \times 2/3 { c8 c c } c4 c1 }
313 This feature was sponsored by Trevor Bača.
316 Symbol sizes (e.g. accidentals) are disregarded for spacing if
317 @code{uniform-stretching} of the @code{SpacingSpanner} grob is set,
320 @lilypond[relative=2,fragment]
322 \override Score.SpacingSpanner #'uniform-stretching = ##t
323 \new Staff { c16[ c c c c c c c c c16] }
325 \times 6/7 { c16 c c cis c c c }
331 This feature was sponsored by Trevor Bača.
334 Endings of broken tuplet brackets can be tuned. For example, you can
335 add arrows to the brackets,
337 @lilypond[fragment,raggedright,relative=2]
338 \override TupletBracket
340 (markup #:arrow-head X LEFT #f)
341 (markup #:arrow-head X RIGHT #f))
343 c c c \bar "empty" \break c c
347 This feature was sponsored by Trevor Bača.
350 @item @textanchor{arrow-glyph}
351 Arrow heads were added to the Feta font.
356 filled, to the right: \hspace #2.0 \fontsize #6 \arrow-head #0 #1 ##t
357 open, down: \hspace #2.0 \fontsize #6 \arrow-head #1 #-1 ##f
362 These glyphs have been sponsored by Trevor Bača.
366 Nested tuplets are automatically positioned,
368 @lilypond[fragment,raggedright,relative=2]
369 \set tupletNumberFormatFunction = #fraction-tuplet-formatter
372 \times 3/5 { a a a a a }
376 This feature was sponsored by Trevor Bača.
379 Music expressions can be displayed, in LilyPond notation, using the
380 new @code{\displayLilyMusic} function. For instance:
382 \displayLilyMusic \transpose c a, { c d e f }
389 This feature was contributed by Nicolas Sceaux.
392 The current bar number may be checked with @code{\barNumberCheck}, eg.
399 will print a warning if it doesn't happen in measure 22.
402 If @code{showLastLength} is set, only the last few measures of a piece
403 are rendered, which speeds up correcting scores. For example, setting
406 showLastLength = R1*5
411 will render only the last five measures (assuming 4/4 time signature)
414 @item @textanchor{simple-melismata}
415 Melismata can be specified simply in the lyrics now, eg.
417 @lilypond[relative=1,verbatim,fragment]
425 This feature was sponsored by Nancho Alvarez
428 Suggested accidentals (for notating musica ficta) may be switched on
429 with @code{suggestAccidentals}
431 @lilypond[verbatim,fragment,relative=2]
432 \set suggestAccidentals = ##t
436 This feature was sponsored by Nancho Alvarez.
439 The setting @code{whichBar} and time-bookkeeping is now split into a
440 @code{Default_bar_line_engraver} and @code{Timing_translator}
443 @item @textanchor{pitched-trill}
444 Explicit pitches may be added to trills,
446 @lilypond[relative,verbatim,fragment]
447 \pitchedTrill c4\startTrillSpan fis f\stopTrillSpan
450 This feature was sponsored by D. Josiah Boothby and Jamie Bullock
453 Markup now supports formatting of text paragraphs, using
454 @code{\wordwrap} and @code{\justify}.
456 This feature was sponsored by Sven Axelsson.
460 For older news, go to
461 @uref{http://lilypond.org/doc/v2.6/Documentation/topdocs/out-www/NEWS.html}.