1 \input texinfo @c -*- coding: utf-8; mode: texinfo; -*-
2 @setfilename lilypond-changes.info
3 @settitle LilyPond Changes
8 @macro inputfileref{DIR,NAME}
9 @uref{../../\DIR\/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}@c
11 @macro usermanref{NAME}
12 @inforef{\NAME\,,../user/lilypond/lilypond}@c
17 @macro inputfileref{DIR,NAME}
20 @macro usermanref{NAME}
21 See user manual, \NAME\
25 @macro textanchor{NAME}
32 @documentencoding utf-8
39 @top New features in 2.13 since 2.12
42 This document is also available in @uref{changes.pdf,PDF}. It is part of
43 the @uref{lilypond/manuals.html,LilyPond Documentation}.
46 @allowcodebreaks false
54 * add new items at the top
56 * only show verbatim input for syntax/input changes
58 * try to be as brief possible in those cases
60 * don't try to provide real-world examples, they often get too big,
61 which scares away people.
63 * Write complete sentences.
65 * only show user-visible changes.
70 The SVG backend has optional support for
71 @uref{http://www.w3.org/Submission/WOFF, WOFF fonts}. Using the Scheme
72 option @code{-d svg-woff} together with the SVG backend selection
73 @code{-d backend=svg}, produces SVG output with CSS WOFF font selection.
76 The LilyPond G clef has been rotated 1.5 degrees clockwise for improved
77 balance. The old and new versions can be compared by looking at the
79 @uref{http://lilypond.org/doc/v2.12/Documentation/user/lilypond/The-Feta-font.html#Clef-glyphs,
81 @uref{http://lilypond.org/doc/v2.13/Documentation/notation/the-feta-font.html#Clef-glyphs,
86 Text crescendo spanners can now be added directly using @code{\cresc},
87 @code{\dim} and @code{\decresc}.
88 @lilypond[quote,relative=2]
95 The documented syntax of @samp{lilypond} environments in the @LaTeX{}
96 mode of @command{lilypond-book} has been changed to conform with
97 standard @LaTeX{} syntax: options now come after the environment name:
99 \begin@{lilypond@}[@var{options}] @dots{}
102 The previous syntax with options after @samp{\begin} is still accepted
103 by @command{lilypond-book} but deprecated. Something like
105 sed -i '/begin\[/s/begin\(\[[^]]*]\)\(@{lilypond@}\)/begin\2\1/'
108 might do the trick for conversion.
111 Aesthetics of shape note heads have been enhanced. Variable line thicknesses
112 have been implemented. All note widths have been made consistent.
113 Minor shape note commands that use the relative major key for scale steps
117 A variant of the segno sign is provided:
118 @lilypond[quote,relative=2]
124 Context modifications (@code{\with} blocks) can be stored in variables and
125 inserted into contexts or other @code{\with} blocks:
126 @lilypond[quote,verbatim]
127 coloredheads = \with { \override NoteHead #'color = #red }
128 noclef = \with { \remove "Clef_engraver" }
131 \new Voice \with { \coloredheads } \relative c' { c4 e g c }
143 A half-open articulation was added:
144 @lilypond[quote,relative=2]
147 This is sometimes used to indicate half-open hi-hats.
150 The Unicode Bidirectional Algorithm is now fully supported for
151 single-line markup due to enhanced integration with Pango.
154 LilyPond is now licensed under the GNU GPL v3+.
157 In tablature, frets can be indicated with labels other than numbers:
159 @lilypond[verbatim,quote,relative=1]
162 stringTunings = #'(17 14 9 5 2 -3)
163 tablatureFormat = #fret-letter-tablature-format
166 \set fretLabels = #`(,(markup #:with-color red "a")
168 ,(markup #:italic #:smaller "c"))
169 <f d>4. <bes>8 <g e>4
174 Layout objects can be printed over a white background, which whites-out objects
175 in lower layers which lie beneath:
177 @lilypond[verbatim,quote,relative=1]
179 \override Staff.StaffSymbol #'layer = #4
180 \once \override Tie #'layer = #2
182 \once \override Staff.TimeSignature #'whiteout = ##t
183 \once \override Staff.TimeSignature #'layer = #3
189 Chords can be repeated using the @code{q} shortcut:
191 @lilypond[verbatim,quote,relative=2]
196 With two-sided mode, margins for odd and even pages can be set using
197 @code{inner-margin} and @code{outer-margin}:
202 inner-margin = 10 \mm
203 outer-margin = 20 \mm
208 Paper margin defaults, as specified in @file{ly/@/paper@/-defaults@/-init@/.ly}, apply
209 to the default paper size (a4) and are automatically scaled according to the
213 All combinations of @code{left-margin}, @code{right-margin} and
214 @code{line-width} work now. There is no more need to set @code{line-width}
215 manually unless you explicitly want to.
218 Support for using an alternative music font, such as Gonville, is now
222 In addition to the existing @code{\hspace} markup command,
223 a new @code{\vspace} command has been added to provide an easy
224 and flexible way to add vertical space in markups.
227 The direction of manual beams can be set with @code{^[} and @code{_[}.
230 A version of the breve note head has been added with two vertical lines on each side.
231 @lilypond[quote,relative=2]
233 \override Staff.NoteHead #'style = #'altdefault
238 Instrument names and vocal names now take into account the extent of
239 system start delimiters in other staves for their positioning,
240 resulting in improved default alignment for left-, center- and
242 @lilypond[quote,indent=18\mm]
247 \set Staff.instrumentName = #"Piccolo"
251 \set Staff.instrumentName = #"Flute"
256 \set Staff.instrumentName = #"Bassoon"
262 \set PianoStaff.instrumentName = #"Piano"
263 \context Staff = "up" {
266 \context Staff = "down" {
275 Braces in markup can now be selected by point size using the markup commands
276 @code{\left-brace} and @code{\right-brace}.
286 Intermediate .ps files which are created by LilyPond
287 during compilation are now deleted by default. To keep them,
288 add the following line to your input files:
290 #(ly:set-option 'delete-intermediate-files #f)
294 Dashed and dotted slurs, phrasing slurs, and ties
295 have been made variable thickness, and
296 partially dashed slurs are now available:
297 @lilypond[quote,relative=2]
307 An eyeglasses markup was added, indicating strongly to look at the
308 conductor for instructions:
309 @lilypond[quote,relative=2]
310 \mark \markup { \eyeglasses }
311 c4_\markup { \eyeglasses }
315 A snap-pizzicato (also known as Bartok-pizzicato) articulation was added:
316 @lilypond[quote,relative=2]
321 Tuplet number formatting functions are now available to print other fractions
322 and to add notes to the number or fraction:
323 @lilypond[quote,relative=2]
324 \once \override TupletNumber #'text =
325 #(tuplet-number::non-default-tuplet-denominator-text 7)
326 \times 2/3 { c4. c4. c4. c4. }
328 \once \override TupletNumber #'text =
329 #(tuplet-number::non-default-tuplet-fraction-text 12 7)
330 \times 2/3 { c4. c4. c4. c4. }
331 \once \override TupletNumber #'text =
332 #(tuplet-number::append-note-wrapper
333 (tuplet-number::non-default-tuplet-fraction-text 12 7) "8")
334 \times 2/3 { c4. c4. c4. c4. }
336 \once \override TupletNumber #'text =
337 #(tuplet-number::append-note-wrapper tuplet-number::calc-denominator-text "4")
338 \times 2/3 { c8 c8 c8 c8 c8 c8 }
339 \once \override TupletNumber #'text =
340 #(tuplet-number::append-note-wrapper tuplet-number::calc-fraction-text "4")
341 \times 2/3 { c8 c8 c8 c8 c8 c8 }
343 \once \override TupletNumber #'text =
344 #(tuplet-number::fraction-with-notes "4." "8")
345 \times 2/3 { c4. c4. c4. c4. }
346 \once \override TupletNumber #'text =
347 #(tuplet-number::non-default-fraction-with-notes 12 "8" 4 "4")
348 \times 2/3 { c4. c4. c4. c4. }
352 FretBoards now have a chordChanges property to keep repeated FretBoard objects
360 For older news, go to
361 @uref{http://lilypond.org/doc/v2.12/Documentation/topdocs/NEWS.html},
362 @uref{http://lilypond.org/doc/v2.10/Documentation/topdocs/NEWS.html},
363 or @uref{../,go back} to the Documentation index.