1 \input texinfo @c -*- coding: utf-8; mode: texinfo; -*-
2 @setfilename lilypond-changes.info
3 @settitle LilyPond Changes
6 @macro inputfileref{DIR,NAME}
7 @uref{../../\DIR\/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}@c
9 @macro usermanref{NAME}
10 @inforef{\NAME\,,../user/lilypond/lilypond}@c
15 @macro inputfileref{DIR,NAME}
18 @macro usermanref{NAME}
19 See user manual, \NAME\
23 @macro textanchor{NAME}
30 @documentencoding utf-8
37 @top New features in 2.13 since 2.12
40 This document is also available in @uref{changes.pdf,PDF}. It is part of
41 the @uref{lilypond/manuals.html,LilyPond Documentation}.
44 @allowcodebreaks false
52 * add new items at the top
54 * only show verbatim input for syntax/input changes
56 * try to be as brief possible in those cases
58 * don't try to provide real-world examples, they often get too big,
59 which scares away people.
61 * Write complete sentences.
63 * only show user-visible changes.
69 The LilyPond G clef has been rotated 1.5 degrees clockwise for improved
70 balance. The old and new versions can be compared by looking at the
72 @uref{http://lilypond.org/doc/v2.12/Documentation/user/lilypond/The-Feta-font.html#Clef-glyphs,
74 @uref{http://lilypond.org/doc/v2.13/Documentation/notation/the-feta-font.html#Clef-glyphs,
79 Text crescendo spanners can now be added directly using @code{\cresc},
80 @code{\dim} and @code{\decresc}.
81 @lilypond[quote,relative=2]
88 The documented syntax of @samp{lilypond} environments in the @LaTeX{}
89 mode of @command{lilypond-book} has been changed to conform with
90 standard @LaTeX{} syntax: options now come after the environment name:
92 \begin@{lilypond@}[@var{options}] @dots{}
95 The previous syntax with options after @samp{\begin} is still accepted
96 by @command{lilypond-book} but deprecated. Something like
98 sed -i '/begin\[/s/begin\(\[[^]]*]\)\(@{lilypond@}\)/begin\2\1/'
101 might do the trick for conversion.
104 Aesthetics of shape note heads have been enhanced. Variable line thicknesses
105 have been implemented. All note widths have been made consistent.
106 Minor shape note commands that use the relative major key for scale steps
110 A variant of the segno sign is provided:
111 @lilypond[quote,relative=2]
117 Context modifications (@code{\with} blocks) can be stored in variables and
118 inserted into contexts or other @code{\with} blocks:
119 @lilypond[quote,verbatim]
120 coloredheads = \with { \override NoteHead #'color = #red }
121 noclef = \with { \remove "Clef_engraver" }
124 \new Voice \with { \coloredheads } \relative c' { c4 e g c }
136 A half-open articulation was added:
137 @lilypond[quote,relative=2]
140 This is sometimes used to indicate half-open hi-hats.
143 The Unicode Bidirectional Algorithm is now fully supported for
144 single-line markup due to enhanced integration with Pango.
147 LilyPond is now licensed under the GNU GPL v3+.
150 In tablature, frets can be indicated with labels other than numbers:
152 @lilypond[verbatim,quote,relative=1]
155 stringTunings = #'(17 14 9 5 2 -3)
156 tablatureFormat = #fret-letter-tablature-format
159 \set fretLabels = #`(,(markup #:with-color red "a")
161 ,(markup #:italic #:smaller "c"))
162 <f d>4. <bes>8 <g e>4
167 Layout objects can be printed over a white background, which whites-out objects
168 in lower layers which lie beneath:
170 @lilypond[verbatim,quote,relative=1]
172 \override Staff.StaffSymbol #'layer = #4
173 \once \override Tie #'layer = #2
175 \once \override Staff.TimeSignature #'whiteout = ##t
176 \once \override Staff.TimeSignature #'layer = #3
182 Chords can be repeated using the @code{q} shortcut:
184 @lilypond[verbatim,quote,relative=2]
189 With two-sided mode, margins for odd and even pages can be set using
190 @code{inner-margin} and @code{outer-margin}:
195 inner-margin = 10 \mm
196 outer-margin = 20 \mm
201 Paper margin defaults, as specified in @file{ly/@/paper@/-defaults@/-init@/.ly}, apply
202 to the default paper size (a4) and are automatically scaled according to the
206 All combinations of @code{left-margin}, @code{right-margin} and
207 @code{line-width} work now. There is no more need to set @code{line-width}
208 manually unless you explicitly want to.
211 Support for using an alternative music font, such as Gonville, is now
215 In addition to the existing @code{\hspace} markup command,
216 a new @code{\vspace} command has been added to provide an easy
217 and flexible way to add vertical space in markups.
220 The direction of manual beams can be set with @code{^[} and @code{_[}.
223 A version of the breve note head has been added with two vertical lines on each side.
224 @lilypond[quote,relative=2]
226 \override Staff.NoteHead #'style = #'altdefault
231 Instrument names and vocal names now take into account the extent of
232 system start delimiters in other staves for their positioning,
233 resulting in improved default alignment for left-, center- and
235 @lilypond[quote,indent=18\mm]
240 \set Staff.instrumentName = #"Piccolo"
244 \set Staff.instrumentName = #"Flute"
249 \set Staff.instrumentName = #"Bassoon"
255 \set PianoStaff.instrumentName = #"Piano"
256 \context Staff = "up" {
259 \context Staff = "down" {
268 Braces in markup can now be selected by point size using the markup commands
269 @code{\left-brace} and @code{\right-brace}.
279 Intermediate .ps files which are created by LilyPond
280 during compilation are now deleted by default. To keep them,
281 add the following line to your input files:
283 #(ly:set-option 'delete-intermediate-files #f)
287 Dashed and dotted slurs, phrasing slurs, and ties
288 have been made variable thickness, and
289 partially dashed slurs are now available:
290 @lilypond[quote,relative=2]
300 An eyeglasses markup was added, indicating strongly to look at the
301 conductor for instructions:
302 @lilypond[quote,relative=2]
303 \mark \markup { \eyeglasses }
304 c4_\markup { \eyeglasses }
308 A snap-pizzicato (also known as Bartok-pizzicato) articulation was added:
309 @lilypond[quote,relative=2]
314 Tuplet number formatting functions are now available to print other fractions
315 and to add notes to the number or fraction:
316 @lilypond[quote,relative=2]
317 \once \override TupletNumber #'text =
318 #(tuplet-number::non-default-tuplet-denominator-text 7)
319 \times 2/3 { c4. c4. c4. c4. }
321 \once \override TupletNumber #'text =
322 #(tuplet-number::non-default-tuplet-fraction-text 12 7)
323 \times 2/3 { c4. c4. c4. c4. }
324 \once \override TupletNumber #'text =
325 #(tuplet-number::append-note-wrapper
326 (tuplet-number::non-default-tuplet-fraction-text 12 7) "8")
327 \times 2/3 { c4. c4. c4. c4. }
329 \once \override TupletNumber #'text =
330 #(tuplet-number::append-note-wrapper tuplet-number::calc-denominator-text "4")
331 \times 2/3 { c8 c8 c8 c8 c8 c8 }
332 \once \override TupletNumber #'text =
333 #(tuplet-number::append-note-wrapper tuplet-number::calc-fraction-text "4")
334 \times 2/3 { c8 c8 c8 c8 c8 c8 }
336 \once \override TupletNumber #'text =
337 #(tuplet-number::fraction-with-notes "4." "8")
338 \times 2/3 { c4. c4. c4. c4. }
339 \once \override TupletNumber #'text =
340 #(tuplet-number::non-default-fraction-with-notes 12 "8" 4 "4")
341 \times 2/3 { c4. c4. c4. c4. }
345 FretBoards now have a chordChanges property to keep repeated FretBoard objects
353 For older news, go to
354 @uref{http://lilypond.org/doc/v2.12/Documentation/topdocs/NEWS.html},
355 @uref{http://lilypond.org/doc/v2.10/Documentation/topdocs/NEWS.html},
356 or @uref{../,go back} to the Documentation index.