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