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