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.18 since 2.16
41 @allowcodebreaks false
49 * add new items at the top
51 * only show verbatim input for syntax/input changes
53 * try to be as brief possible in those cases
55 * don't try to provide real-world examples, they often get too big,
56 which scares away people.
58 * Write complete sentences.
60 * only show user-visible changes.
65 The LilyPond syntax of dot-separated words @code{Voice.Accidental}
66 has been made interchangeable with @code{#'(Voice Accidental)}, a
67 Scheme list of symbols. As one result, code like
69 \override Voice.TextSpanner #'(bound-details left text) = "rit."
73 \override Voice.TextSpanner bound-details.left.text = "rit."
77 \override #'(Voice TextSpanner) bound-details.left.text = "rit."
81 Grob and grob property path no longer need to be specified as two
82 separate arguments to commands like @samp{\override} and
83 @code{\revert}, allowing for the syntax
85 \override Voice.TextSpanner.bound-details.left.text = "rit."
87 Since complementary music functions like @samp{\overrideProperty}
88 cannot support forms with and without separating space at the same
89 time, using a single dotted path is now the preferred form.
90 Specifying grob path and grob property path separately, currently
91 still supported with @samp{\override} and @samp{\revert} for
92 compatibility reasons, is deprecated.
95 Due to words now being accepted as symbol function arguments, the
96 interfaces of @samp{\accidentalStyle}, @samp{\alterBroken},
97 @samp{\footnote} and @samp{\tweak} had to be redesigned where
98 optional symbol arguments were involved. Please check the
99 respective music function documentation for details.
102 Several commands now accept symbol lists (conveniently entered as
103 dot-separated words) for various kinds of arguments. These
104 include @samp{\accidentalStyle}, @samp{\alterBroken},
105 @samp{\footnote}, @samp{\hide}, @samp{\omit},
106 @samp{\overrideProperty}, @samp{\shape}, and @samp{\tweak}.
109 The bar line user interface has changed. Bar glyphs now resemble the
110 appearance of the bar line, so a left repeat sign has to be coded
111 as @code{.|:}. The command @code{\defineBarLine} provides an easy way
112 to define additional bar line styles.
115 Accidentals in the key signature may be printed in octaves other
116 than their traditional positions, or in multiple octaves.
117 @lilypond[quote,relative=0]
118 \override Staff.KeySignature #'flat-positions = #'((-5 . 5))
119 \override Staff.KeyCancellation #'flat-positions = #'((-5 . 5))
120 \clef bass \key es\major es g bes d
121 \clef treble \bar "||" \key es\major es g bes d
122 \override Staff.KeySignature #'sharp-positions = #'(2)
123 \bar "||" \key d\major b fis b2
129 For older news, go to
130 @uref{http://lilypond.org/doc/v2.16/Documentation/changes/},
131 @uref{http://lilypond.org/doc/v2.14/Documentation/changes/},
132 or @uref{../,go back} to the Documentation index.