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 part-combiner's decision to combine/not combine notes can now be customized
71 @lilypond[quote,relative=2]
73 \relative c' { c2 \partcombineApart c | \partcombineChordsOnce e' e }
74 \relative c' { c2 \partcombineApart c | c c }
78 Tablature staves show fret numbers only by default. To get the
79 former style, @code{\tabFullNotation} is provided.
82 Funk-style and Walker-style shape notes have been added.
85 Rests will no longer keep a staff alive if @code{\RemoveEmptyStaffContext}
89 New option @code{-dinclude-settings=INCLUDEFILE.ly}, which causes lilypond
90 to include the given file before the score is processed. This allows the
91 user to change global settings without the need to change the score itself.
92 That way, several different editions/version (e.g. different page sizes)
93 can be generated from a file without having to modify the score for each
97 The autobeaming settings syntax has been changed. beatLength,
98 beatGrouping, beamSettings, and measureGrouping have all been eliminated.
99 Autobeaming is now controlled by baseMoment, beatStructure, and
100 beamExceptions. Default settings for each of these properties can be
101 stored for any time signature in time-signature-settings, so that
102 when the time signature is changed, the autobeaming will automatically
103 change. The new syntax should be much easier and require fewer
107 The SVG backend has optional support for
108 @uref{http://www.w3.org/Submission/WOFF, WOFF fonts}. Using the Scheme
109 option @code{-d svg-woff} together with the SVG backend selection
110 @code{-d backend=svg}, produces SVG output with CSS WOFF font selection.
113 The LilyPond G clef has been rotated 1.5 degrees clockwise for improved
114 balance. The old and new versions can be compared by looking at the
116 @uref{http://lilypond.org/doc/v2.12/Documentation/user/lilypond/The-Feta-font.html#Clef-glyphs,
118 @uref{http://lilypond.org/doc/v2.13/Documentation/notation/the-feta-font.html#Clef-glyphs,
123 Text crescendo spanners can now be added directly using @code{\cresc},
124 @code{\dim} and @code{\decresc}.
125 @lilypond[quote,relative=2]
132 The documented syntax of @samp{lilypond} environments in the @LaTeX{}
133 mode of @command{lilypond-book} has been changed to conform with
134 standard @LaTeX{} syntax: options now come after the environment name:
136 \begin@{lilypond@}[@var{options}] @dots{}
139 The previous syntax with options after @samp{\begin} is still accepted
140 by @command{lilypond-book} but deprecated. Something like
142 sed -i '/begin\[/s/begin\(\[[^]]*]\)\(@{lilypond@}\)/begin\2\1/'
145 might do the trick for conversion.
148 Aesthetics of shape note heads have been enhanced. Variable line thicknesses
149 have been implemented. All note widths have been made consistent.
150 Minor shape note commands that use the relative major key for scale steps
154 A variant of the segno sign is provided:
155 @lilypond[quote,relative=2]
161 Context modifications (@code{\with} blocks) can be stored in variables and
162 inserted into contexts or other @code{\with} blocks:
163 @lilypond[quote,verbatim]
164 coloredheads = \with { \override NoteHead #'color = #red }
165 noclef = \with { \remove "Clef_engraver" }
168 \new Voice \with { \coloredheads } \relative c' { c4 e g c }
180 A half-open articulation was added:
181 @lilypond[quote,relative=2]
184 This is sometimes used to indicate half-open hi-hats.
187 The Unicode Bidirectional Algorithm is now fully supported for
188 single-line markup due to enhanced integration with Pango.
191 LilyPond is now licensed under the GNU GPL v3+.
194 In tablature, frets can be indicated with labels other than numbers:
196 @lilypond[verbatim,quote,relative=1]
199 stringTunings = #'(17 14 9 5 2 -3)
200 tablatureFormat = #fret-letter-tablature-format
203 \set fretLabels = #`(,(markup #:with-color red "a")
205 ,(markup #:italic #:smaller "c"))
206 <f d>4. <bes>8 <g e>4
211 Layout objects can be printed over a white background, which whites-out objects
212 in lower layers which lie beneath:
214 @lilypond[verbatim,quote,relative=1]
216 \override Staff.StaffSymbol #'layer = #4
217 \once \override Tie #'layer = #2
219 \once \override Staff.TimeSignature #'whiteout = ##t
220 \once \override Staff.TimeSignature #'layer = #3
226 Chords can be repeated using the @code{q} shortcut:
228 @lilypond[verbatim,quote,relative=2]
233 With two-sided mode, margins for odd and even pages can be set using
234 @code{inner-margin} and @code{outer-margin}:
239 inner-margin = 10 \mm
240 outer-margin = 20 \mm
245 Paper margin defaults, as specified in @file{ly/@/paper@/-defaults@/-init@/.ly}, apply
246 to the default paper size (a4) and are automatically scaled according to the
250 All combinations of @code{left-margin}, @code{right-margin} and
251 @code{line-width} work now. There is no more need to set @code{line-width}
252 manually unless you explicitly want to.
255 Support for using an alternative music font, such as Gonville, is now
259 In addition to the existing @code{\hspace} markup command,
260 a new @code{\vspace} command has been added to provide an easy
261 and flexible way to add vertical space in markups.
264 The direction of manual beams can be set with @code{^[} and @code{_[}.
267 A version of the breve note head has been added with two vertical lines on each side.
268 @lilypond[quote,relative=2]
270 \override Staff.NoteHead #'style = #'altdefault
275 Instrument names and vocal names now take into account the extent of
276 system start delimiters in other staves for their positioning,
277 resulting in improved default alignment for left-, center- and
279 @lilypond[quote,indent=18\mm]
284 \set Staff.instrumentName = #"Piccolo"
288 \set Staff.instrumentName = #"Flute"
293 \set Staff.instrumentName = #"Bassoon"
299 \set PianoStaff.instrumentName = #"Piano"
300 \context Staff = "up" {
303 \context Staff = "down" {
312 Braces in markup can now be selected by point size using the markup commands
313 @code{\left-brace} and @code{\right-brace}.
323 Intermediate .ps files which are created by LilyPond
324 during compilation are now deleted by default. To keep them,
325 add the following line to your input files:
327 #(ly:set-option 'delete-intermediate-files #f)
331 Dashed and dotted slurs, phrasing slurs, and ties
332 have been made variable thickness, and
333 partially dashed slurs are now available:
334 @lilypond[quote,relative=2]
344 An eyeglasses markup was added, indicating strongly to look at the
345 conductor for instructions:
346 @lilypond[quote,relative=2]
347 \mark \markup { \eyeglasses }
348 c4_\markup { \eyeglasses }
352 A snap-pizzicato (also known as Bartok-pizzicato) articulation was added:
353 @lilypond[quote,relative=2]
358 Tuplet number formatting functions are now available to print other fractions
359 and to add notes to the number or fraction:
360 @lilypond[quote,relative=2]
361 \once \override TupletNumber #'text =
362 #(tuplet-number::non-default-tuplet-denominator-text 7)
363 \times 2/3 { c4. c4. c4. c4. }
365 \once \override TupletNumber #'text =
366 #(tuplet-number::non-default-tuplet-fraction-text 12 7)
367 \times 2/3 { c4. c4. c4. c4. }
368 \once \override TupletNumber #'text =
369 #(tuplet-number::append-note-wrapper
370 (tuplet-number::non-default-tuplet-fraction-text 12 7) "8")
371 \times 2/3 { c4. c4. c4. c4. }
373 \once \override TupletNumber #'text =
374 #(tuplet-number::append-note-wrapper tuplet-number::calc-denominator-text "4")
375 \times 2/3 { c8 c8 c8 c8 c8 c8 }
376 \once \override TupletNumber #'text =
377 #(tuplet-number::append-note-wrapper tuplet-number::calc-fraction-text "4")
378 \times 2/3 { c8 c8 c8 c8 c8 c8 }
380 \once \override TupletNumber #'text =
381 #(tuplet-number::fraction-with-notes "4." "8")
382 \times 2/3 { c4. c4. c4. c4. }
383 \once \override TupletNumber #'text =
384 #(tuplet-number::non-default-fraction-with-notes 12 "8" 4 "4")
385 \times 2/3 { c4. c4. c4. c4. }
389 FretBoards now have a chordChanges property to keep repeated FretBoard objects
393 The vertical spacing engine has been drastically changed, making
394 it more flexible and easier to control.
401 For older news, go to
402 @uref{http://lilypond.org/doc/v2.12/Documentation/topdocs/NEWS.html},
403 @uref{http://lilypond.org/doc/v2.10/Documentation/topdocs/NEWS.html},
404 or @uref{../,go back} to the Documentation index.