]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/changes.tely
09ac3678e37ba0b1cb69894f96337dc686a5418f
[lilypond.git] / Documentation / changes.tely
1 \input texinfo @c -*- coding: utf-8; mode: texinfo; -*-
2 @setfilename lilypond-changes.info
3 @settitle LilyPond Changes
4
5 @ifhtml
6 @macro inputfileref{DIR,NAME}
7 @uref{../../\DIR\/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}@c
8 @end macro
9 @macro usermanref{NAME}
10 @inforef{\NAME\,,../user/lilypond/lilypond}@c
11 @end macro
12 @end ifhtml
13
14 @ifnothtml
15 @macro inputfileref{DIR,NAME}
16 @file{\DIR\/\NAME\}@c
17 @end macro
18 @macro usermanref{NAME}
19 See user manual, \NAME\
20 @end macro
21 @end ifnothtml
22
23 @macro textanchor{NAME}
24 @html
25 <a name="\NAME\"></a>
26 @end html
27 @end macro
28
29
30 @documentencoding utf-8
31 @documentlanguage en
32 @afourpaper
33
34 @finalout
35
36 @node Top
37 @top New features in 2.13 since 2.12
38
39 @ifhtml
40 This document is also available in @uref{changes.pdf,PDF}. It is part of
41 the @uref{lilypond/manuals.html,LilyPond Documentation}.
42 @end ifhtml
43
44 @allowcodebreaks false
45
46 @itemize @bullet
47
48 @ignore
49
50 HINTS
51
52 * add new items at the top
53
54 * only show verbatim input for syntax/input changes
55
56 * try to be as brief possible in those cases
57
58 * don't try to provide real-world examples, they often get too big,
59 which scares away people.
60
61 * Write complete sentences.
62
63 * only show user-visible changes.
64
65 @end ignore
66
67 @item
68 Text crescendo spanners can now be added directly using @code{\cresc},
69 @code{\dim} and @code{\decresc}.
70 @lilypond[quote,relative=2]
71 c4\cresc c c c\f |
72 c4\dim c c c\!
73 @end lilypond
74
75
76 @item
77 The documented syntax of @samp{lilypond} environments in the @LaTeX{}
78 mode of @command{lilypond-book} has been changed to conform with
79 standard @LaTeX{} syntax: options now come after the environment name:
80 @example
81 \begin@{lilypond@}[@var{options}] @dots{}
82 @end example
83
84 The previous syntax with options after @samp{\begin} is still accepted
85 by @command{lilypond-book} but deprecated.  Something like
86 @example
87 sed -i '/begin\[/s/begin\(\[[^]]*]\)\(@{lilypond@}\)/begin\2\1/'
88 @end example
89
90 might do the trick for conversion.
91
92 @item
93 Aesthetics of shape note heads have been enhanced.  Variable line thicknesses
94 have been implemented.  All note widths have been made consistent.
95 Minor shape note commands that use the relative major key for scale steps
96 have been added.
97
98 @item
99 A variant of the segno sign is provided:
100 @lilypond[quote,relative=2]
101 c4 d e f \bar "S"
102 g4 f e d
103 @end lilypond
104
105 @item
106 Context modifications (@code{\with} blocks) can be stored in variables and
107 inserted into contexts or other @code{\with} blocks:
108 @lilypond[quote,verbatim]
109 coloredheads = \with { \override NoteHead #'color = #red }
110 noclef = \with { \remove "Clef_engraver" }
111 \score {
112   \new Staff {
113     \new Voice \with { \coloredheads } \relative c' { c4 e g c }
114   }
115   \layout {
116     \context {
117       \Staff
118       \noclef
119     }
120   }
121 }
122 @end lilypond
123
124 @item
125 A half-open articulation was added:
126 @lilypond[quote,relative=2]
127 c4\halfopen
128 @end lilypond
129 This is sometimes used to indicate half-open hi-hats.
130
131 @item
132 The Unicode Bidirectional Algorithm is now fully supported for
133 single-line markup due to enhanced integration with Pango.
134
135 @item
136 LilyPond is now licensed under the GNU GPL v3+.
137
138 @item
139 In tablature, frets can be indicated with labels other than numbers:
140
141 @lilypond[verbatim,quote,relative=1]
142 \new TabStaff
143 \with {
144   stringTunings = #'(17 14 9 5 2 -3)
145   tablatureFormat = #fret-letter-tablature-format
146 }
147 \new TabVoice {
148   \set fretLabels = #`(,(markup #:with-color red "a")
149                        "b"
150                        ,(markup #:italic #:smaller "c"))
151   <f d>4. <bes>8 <g e>4
152 }
153 @end lilypond
154
155 @item
156 Layout objects can be printed over a white background, which whites-out objects
157 in lower layers which lie beneath:
158
159 @lilypond[verbatim,quote,relative=1]
160 \time 3/4
161 \override Staff.StaffSymbol #'layer = #4
162 \once \override Tie #'layer = #2
163 b'2.~
164 \once \override Staff.TimeSignature #'whiteout = ##t
165 \once \override Staff.TimeSignature #'layer = #3
166 \time 5/4
167 b4
168 @end lilypond
169
170 @item
171 Chords can be repeated using the @code{q} shortcut:
172
173 @lilypond[verbatim,quote,relative=2]
174 <c e g>8.-^ q16 q4-^
175 @end lilypond
176
177 @item
178 With two-sided mode, margins for odd and even pages can be set using
179 @code{inner-margin} and @code{outer-margin}:
180
181 @example
182 \paper @{
183   two-sided = ##t
184   inner-margin = 10 \mm
185   outer-margin = 20 \mm
186 @}
187 @end example
188
189 @item
190 Paper margin defaults, as specified in @file{ly/@/paper@/-defaults@/-init@/.ly}, apply
191 to the default paper size (a4) and are automatically scaled according to the
192 paper size chosen.
193
194 @item
195 All combinations of @code{left-margin}, @code{right-margin} and
196 @code{line-width} work now.  There is no more need to set @code{line-width}
197 manually unless you explicitly want to.
198
199 @item
200 Support for using an alternative music font, such as Gonville, is now
201 added.
202
203 @item
204 In addition to the existing @code{\hspace} markup command,
205 a new @code{\vspace} command has been added to provide an easy
206 and flexible way to add vertical space in markups.
207
208 @item
209 The direction of manual beams can be set with @code{^[} and @code{_[}.
210
211 @item
212 A version of the breve note head has been added with two vertical lines on each side.
213 @lilypond[quote,relative=2]
214 \time 4/2
215 \override Staff.NoteHead #'style = #'altdefault
216 c\breve | b\breve
217 @end lilypond
218
219 @item
220 Instrument names and vocal names now take into account the extent of
221 system start delimiters in other staves for their positioning,
222 resulting in improved default alignment for left-, center- and
223 right-aligned names.
224 @lilypond[quote,indent=18\mm]
225 <<
226   \new StaffGroup <<
227     \new GrandStaff <<
228       \new Staff {
229         \set Staff.instrumentName = #"Piccolo"
230         c''1
231       }
232       \new Staff {
233         \set Staff.instrumentName = #"Flute"
234         c''1
235       }
236     >>
237     \new Staff {
238       \set Staff.instrumentName = #"Bassoon"
239       \clef tenor
240       c'1
241     }
242   >>
243   \new PianoStaff <<
244     \set PianoStaff.instrumentName = #"Piano"
245     \context Staff = "up" {
246       c'1
247     }
248     \context Staff = "down" {
249       \clef bass
250       c1
251     }
252   >>
253 >>
254 @end lilypond
255
256 @item
257 Braces in markup can now be selected by point size using the markup commands
258 @code{\left-brace} and @code{\right-brace}.
259 @lilypond[quote]
260 \markup {
261   \left-brace #35
262   \hspace #2
263   \right-brace #45
264 }
265 @end lilypond
266
267 @item
268 Intermediate .ps files which are created by LilyPond
269 during compilation are now deleted by default.  To keep them,
270 add the following line to your input files:
271 @example
272 #(ly:set-option 'delete-intermediate-files #f)
273 @end example
274
275 @item
276 Dashed and dotted slurs, phrasing slurs, and ties
277 have been made variable thickness, and
278 partially dashed slurs are now available:
279 @lilypond[quote,relative=2]
280 \slurDashed
281 c4( d e f) |
282 \slurDotted
283 g4( f e d) |
284 \slurHalfDashed
285 c4( d e f)
286 @end lilypond
287
288 @item
289 An eyeglasses markup was added, indicating strongly to look at the
290 conductor for instructions:
291 @lilypond[quote,relative=2]
292 \mark \markup { \eyeglasses }
293 c4_\markup { \eyeglasses }
294 @end lilypond
295
296 @item
297 A snap-pizzicato (also known as Bartok-pizzicato) articulation was added:
298 @lilypond[quote,relative=2]
299 c4\snappizzicato
300 @end lilypond
301
302 @item
303 Tuplet number formatting functions are now available to print other fractions
304 and to add notes to the number or fraction:
305 @lilypond[quote,relative=2]
306 \once \override TupletNumber #'text =
307   #(tuplet-number::non-default-tuplet-denominator-text 7)
308 \times 2/3 { c4. c4. c4. c4. }
309
310 \once \override TupletNumber #'text =
311   #(tuplet-number::non-default-tuplet-fraction-text 12 7)
312 \times 2/3 { c4. c4. c4. c4. }
313 \once \override TupletNumber #'text =
314   #(tuplet-number::append-note-wrapper
315     (tuplet-number::non-default-tuplet-fraction-text 12 7) "8")
316 \times 2/3 { c4. c4. c4. c4. }
317
318 \once \override TupletNumber #'text =
319   #(tuplet-number::append-note-wrapper tuplet-number::calc-denominator-text "4")
320 \times 2/3 { c8 c8 c8 c8 c8 c8 }
321 \once \override TupletNumber #'text =
322   #(tuplet-number::append-note-wrapper tuplet-number::calc-fraction-text "4")
323 \times 2/3 { c8 c8 c8 c8 c8 c8 }
324
325 \once \override TupletNumber #'text =
326   #(tuplet-number::fraction-with-notes "4." "8")
327 \times 2/3 { c4. c4. c4. c4. }
328 \once \override TupletNumber #'text =
329   #(tuplet-number::non-default-fraction-with-notes 12 "8" 4 "4")
330 \times 2/3  { c4. c4. c4. c4. }
331 @end lilypond
332
333 @item
334 FretBoards now have a chordChanges property to keep repeated FretBoard objects
335 from being typeset.
336
337 @end itemize
338
339
340
341 @ifhtml
342 For older news, go to
343 @uref{http://lilypond.org/doc/v2.12/Documentation/topdocs/NEWS.html},
344 @uref{http://lilypond.org/doc/v2.10/Documentation/topdocs/NEWS.html},
345 or @uref{../,go back} to the Documentation index.
346
347
348 @end ifhtml
349
350 @bye