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 Introducing two new markup-commands; @code{\draw-dashed-line} and
66 @code{\draw-dotted-line}.
69 The dashed-line extends to the whole length given by @var{dest}, if
70 @code{full-length} is set to @code{#t} (this is the default) without any
71 space at the beginning or end. @code{off} will then be altered to fit.
72 To insist on the given (or default) values of @code{on}, @code{off} use
73 @code{\override #'(full-length . #f)}. Manual settings for @code{on},
74 @code{off} and @code{phase} are possible.
77 The dotted-line always extends to the whole length given by @var{dest},
78 without any space at the beginning or end. Manual settings for
79 @code{off} are possible to get larger or smaller space between the dots.
80 The given (or default) value of @code{off} will be altered to fit the
83 @lilypond[verbatim,quote]
85 \draw-dashed-line #'(5.1 . 2.3)
86 \override #'(on . 0.3)
87 \override #'(off . 0.5)
88 \draw-dashed-line #'(5.1 . 2.3)
89 \draw-dotted-line #'(5.1 . 2.3)
90 \override #'(thickness . 2)
91 \override #'(off . 0.2)
92 \draw-dotted-line #'(5.1 . 2.3)
97 Starting with version@tie{}2.17.10, error messages or the
98 @code{textedit} @acronym{URI} used for point-and-click
99 functionality specify column numbers starting with@tie{}1 rather
100 than@tie{}0. The byte offset (also part of @code{textedit}
101 @acronym{URI}s) still starts at@tie{}0.
104 The @code{\clef} command supports optional octavation:
105 @lilypond[verbatim,quote,relative=1]
113 The LilyPond syntax of dot-separated words @code{Voice.Accidental}
114 has been made interchangeable with @code{#'(Voice Accidental)}, a
115 Scheme list of symbols. As one result, code like
117 \override Voice.TextSpanner #'(bound-details left text) = "rit."
121 \override Voice.TextSpanner bound-details.left.text = "rit."
125 \override #'(Voice TextSpanner) bound-details.left.text = "rit."
129 Grob and grob property path no longer need to be specified as two
130 separate arguments to commands like @samp{\override} and
131 @code{\revert}, allowing for the syntax
133 \override Voice.TextSpanner.bound-details.left.text = "rit."
135 Since complementary music functions like @samp{\overrideProperty}
136 cannot support forms with and without separating space at the same
137 time, using a single dotted path is now the preferred form.
138 Specifying grob path and grob property path separately, currently
139 still supported with @samp{\override} and @samp{\revert} for
140 compatibility reasons, is deprecated.
143 Due to words now being accepted as symbol function arguments, the
144 interfaces of @samp{\accidentalStyle}, @samp{\alterBroken},
145 @samp{\footnote} and @samp{\tweak} had to be redesigned where
146 optional symbol arguments were involved. Please check the
147 respective music function documentation for details.
150 Several commands now accept symbol lists (conveniently entered as
151 dot-separated words) for various kinds of arguments. These
152 include @samp{\accidentalStyle}, @samp{\alterBroken},
153 @samp{\footnote}, @samp{\hide}, @samp{\omit},
154 @samp{\overrideProperty}, @samp{\shape}, and @samp{\tweak}.
157 The bar line user interface has changed. Bar glyphs now resemble the
158 appearance of the bar line, so a left repeat sign has to be coded
159 as @code{.|:}. The command @code{\defineBarLine} provides an easy way
160 to define additional bar line styles.
163 Accidentals in the key signature may be printed in octaves other
164 than their traditional positions, or in multiple octaves.
165 @lilypond[quote,relative=0]
166 \override Staff.KeySignature #'flat-positions = #'((-5 . 5))
167 \override Staff.KeyCancellation #'flat-positions = #'((-5 . 5))
168 \clef bass \key es\major es g bes d
169 \clef treble \bar "||" \key es\major es g bes d
170 \override Staff.KeySignature #'sharp-positions = #'(2)
171 \bar "||" \key d\major b fis b2
177 For older news, go to
178 @uref{http://lilypond.org/doc/v2.16/Documentation/changes/},
179 @uref{http://lilypond.org/doc/v2.14/Documentation/changes/},
180 or @uref{../,go back} to the Documentation index.