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