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