1 \input texinfo @c -*- coding: utf-8; mode: texinfo; -*-
6 @macro inputfileref{DIR,NAME}
7 @uref{../../\DIR\/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}@c
9 @macro usermanref{NAME}
10 @inforef{\NAME\,,../user/lilypond/lilypond}@c
15 @macro inputfileref{DIR,NAME}
18 @macro usermanref{NAME}
19 See user manual, \NAME\
23 @macro textanchor{NAME}
30 @documentencoding utf-8
39 @unnumbered New features in 2.11 since 2.10
42 This document is also available in @uref{NEWS.pdf,PDF}. It's part of
43 the @uref{../,LilyPond Documentation} .
55 * only show verbatim input for syntax/input changes
57 * try to be as brief possible in those cases
59 * don't try to provide real-world examples, they often get too big,
60 which scares away people.
62 * Write complete sentences.
64 * only show user-visible changes.
69 @command{lilypond-book} can run any program instead of @command{latex}
70 to guess the line width, thanks to @code{--latex} command line option.
73 @code{\setEasyHeads} has been renamed to @code{\easyHeadsOn}, and a new
74 command @code{\easyHeadsOff} reverts note heads to normal heads.
77 @code{\fatText} and @code{\emptyText} have been renamed to
78 @code{\textLengthOn} and @code{\textLengthOff}, respectively.
81 Underlining is now possible with the @code{\underline} markup command.
84 It is now possible to specify, using the @code{page-count} variable in
85 the paper block, the number of pages that will be used.
88 A new page breaking function, @code{ly:minimal-breaking}, is dedicated
89 to books with many pages or a lot of texts.
92 A table of contents is included using @code{\markuplines \table-of-contents}.
93 Elements are added to it using the @code{\tocItem} command.
96 Text spreading over several pages is entered using the
97 @code{\markuplines} keyword. Builtin markup list commands, such as
98 @code{\justified-lines} or @code{\wordwrap-lines} may be used, and new
99 ones created using the @code{define-markup-list-command} Scheme macro.
102 Particular points of a book may be marked with the @code{\label}
103 command. Then, the page where these points are placed can be refered to
104 using the @code{\page-ref} markup command.
107 Page breaking and page turning commands (@code{\pageBreak},
108 @code{\noPageBreak}, etc) can be used at top-level, between scores and
112 The following options are now changed as a @code{-d} sub-option:
113 @code{--backend}, @code{--safe}, @code{--preview} and
114 @code{--no-pages} (which became @code{-dno-print-pages}). The @code{-b}
115 option does not exist any more.
118 Improved testing procedure now catch changes in CPU and memory
119 performance, page layout, MIDI results and warnings. This helps to
120 reduce the number of regression errors during development, resulting
121 in more stable releases.
123 See @uref{INSTALL.html#testing} for more information.
125 Nested properties, such as @code{details} in @code{Slur}, can be
126 reverted as well. The syntax for this is
129 \revert Slur #'(details closeness-factor)
133 All line spanners are more flexible now in the configuration of
134 their end points. This includes glissando, voice followers, text
135 crescendos and other text spanners. The old syntax for setting
136 text on line spanners is no longer valid.
138 @c with ragged-right we can't see the gliss.
141 \override Glissando #'bound-details #'right #'text = \markup { \hcenter \bold down }
142 \override Glissando #'bound-details #'right #'Y = #-4
143 \override Glissando #'bound-details #'right #'padding = #0.0
144 \override Glissando #'bound-details #'left #'arrow = ##t
145 \override Glissando #'bound-details #'left #'padding = #3.0
146 \override Glissando #'style = #'trill
152 This feature was sponsored by Trevor Bača.
156 The environment variable LILYPONDPREFIX has been renamed to
160 Notes or rests, such as a typical end note, that fill an entire
161 measure are preceded by some more space.
163 @lilypond[ragged-right]
173 @item All @code{\score}s in a lilypond-book fragment are now inserted
174 into the document. Also, toplevel markups don't result in an entire
177 @item Alterations (such as a sharp and flat) may now be arbitrary
178 fractions. This allows some forms of microtonal music. For example,
179 Turkish makam music uses 1/9th tone alterations.
181 @lilypondfile{makam.ly}
185 @item Tie directions may be set with @code{^~} and @code{_~}
187 @item Tablature now supports harmonics and slides,
189 @lilypond[fragment,ragged-right,relative=1]
192 <c g'\harmonic> d\2\glissando e\2
196 This feature was sponsored by Mike Amundsen
198 @item Horizontal spacing now follows object outlines more
199 accurately. This allows tighter horizontal spacing.
201 @lilypond[fragment,ragged-right]
209 @item Objects that belong outside of the staff are
210 now positioned automatically to avoid collisions.
212 @lilypond[fragment,ragged-right,relative=1]
214 \once \override TextScript #'self-alignment-X = #CENTER
215 a,^"this doesn't collide with the c"
216 b^"this goes above the previous markup"
217 a8_"this goes below the dynamic"
221 @item Staves are spaced vertically using a skyline algorithm. This helps to avoid
222 uneven vertical spacing.
224 @lilypond[ragged-right]
226 %% todo: fix 'landscape PDF.
227 #(set-default-paper-size "a6" )
235 a,,1 | a'4 b' c'' d'' \break
236 \repeat unfold 2 {a' b' c'' d''} | b''''1
247 For older news, go to
248 @uref{http://lilypond.org/doc/v2.10/Documentation/topdocs/NEWS.html},
249 or @uref{../,go back} to the Documentation index.