Remove unused prototype in score.hh.
[lilypond/mpolesky.git] / Documentation / changes.tely
blob8f4c3dc6f392e6ac0b93b039003044efe384b660
1 \input texinfo @c -*- coding: utf-8; mode: texinfo; -*-
2 @setfilename lilypond-changes.info
3 @settitle LilyPond Changes
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
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
23 @macro textanchor{NAME}
24 @html
25 <a name="\NAME\"></a>
26 @end html
27 @end macro
30 @documentencoding utf-8
31 @documentlanguage en
32 @afourpaper
34 @finalout
36 @node Top
37 @top New features in 2.13 since 2.12
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
44 @allowcodebreaks false
46 @itemize @bullet
48 @ignore
50 HINTS
52 * add new items at the top
54 * only show verbatim input for syntax/input changes
56 * try to be as brief possible in those cases
58 * don't try to provide real-world examples, they often get too big,
59 which scares away people.
61 * Write complete sentences.
63 * only show user-visible changes.
65 @end ignore
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
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   }
90 @end lilypond
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.
99 @item
100 The Unicode Bidirectional Algorithm is now fully supported for
101 single-line markup due to enhanced integration with Pango.
103 @item
104 LilyPond is now licensed under the GNU GPL v3+.
106 @item
107 In tablature, frets can be indicated with labels other than numbers:
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
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
121 @end lilypond
123 @item
124 Layout objects can be printed over a white background, which whites-out objects
125 in lower layers which lie beneath:
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
136 @end lilypond
138 @item
139 Chords can be repeated using the @code{q} shortcut:
141 @lilypond[verbatim,quote,relative=2]
142 <c e g>8.-^ q16 q4-^
143 @end lilypond
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.
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.
155 @item
156 Support for using an alternative music font, such as Gonville, is now
157 added.
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.
164 @item
165 The direction of manual beams can be set with @code{^[} and @code{_[}.
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
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]
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   >>
210 @end lilypond
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
221 @end lilypond
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
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
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
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
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. }
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. }
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 }
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
289 @item
290 FretBoards now have a chordChanges property to keep repeated FretBoard objects
291 from being typeset.
293 @end itemize
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.
304 @end ifhtml
306 @bye