@top New features in 2.11 since 2.10
@ifhtml
-This document is also available in @uref{NEWS.pdf,PDF}. It's part of
-the @uref{../,LilyPond Documentation} .
+This document is also available in @uref{NEWS.pdf,PDF}. It is part of
+the @uref{../,LilyPond Documentation}.
@end ifhtml
@end ignore
+@item
+Unbeamed 128th notes are now supported:
+@lilypond
+\relative c'' {
+ g128
+}
+@end lilypond
+
+@item
+Straight flags (used in old scores of e.g. Bach, but also in different form in
+modern scores of e.g. Stockhausen) are now implemented:
+@lilypond
+\relative c'' {
+ \override Stem #'flag = #modern-straight-flag
+ c,16 \acciaccatura {c'8} d4 d32
+ \bar":"
+ \override Stem #'flag = #old-straight-flag
+ c,16 \acciaccatura {c'8} d4 d32
+}
+@end lilypond
+
+@item
+@code{\bookpart} blocks may be used to split a book into several parts,
+separated by a page break, in order to ease the page breaking, or to use
+different @code{\paper} settings in different parts.
+
+@example
+\bookpart @{
+ \header @{
+ title = "Book title"
+ subtitle = "First part"
+ @}
+ \score @{ @dots{} @}
+ @dots{}
+@}
+\bookpart @{
+ \header @{
+ subtitle = "Second part"
+ @}
+ \score @{ @dots{} @}
+ @dots{}
+@}
+@end example
+
+@item
+Nested contexts of the same type are now allowed.
+This deprecates @code{InnerStaffGroup} and @code{InnerChoirStaff}.
+@lilypond[relative=1]
+\new StaffGroup <<
+ \new Staff { c1 }
+ \new StaffGroup <<
+ \new Staff { c1 }
+ \new Staff { c1 }
+ >>
+>>
+@end lilypond
+
+@item
+Percent repeat counters can be shown at regular intervals using the
+context property @code{repeatCountVisibility}.
+@lilypond[relative=1]
+{
+ \set countPercentRepeats = ##t
+ \set repeatCountVisibility = #(every-nth-repeat-count-visible 2)
+ \repeat percent 8 { c4 d e f }
+}
+@end lilypond
+
+@item
+In addition to the already existing @code{showLastLength} property,
+@code{showFirstLength} can now be set as well, rendering only the first
+measures of a piece. Both properties may be set at the same time:
+@lilypond[]
+showFirstLength = R1*2
+showLastLength = R1*3
+\relative c' { c1 d e f g a b c }
+@end lilypond
+
@item
The file extension for MIDI can be set using the command-line
program default @code{midi-extension}. For Windows, the default
@end lilypond
@item
-Three automatic accidentals rules have been added: @code{neo-modern},
-@code{neo-modern-cautionary} and @code{dodecaphonic}. The following
-example illustrates @code{neo-modern} rule.
+Four automatic accidentals rules have been added: @code{neo-modern},
+@code{neo-modern-cautionary}, @code{dodecaphonic} and @code{teaching}.
+The following example illustrates @code{neo-modern} rule.
@lilypond[]
notes = {
<<
(yext (if is-up (cons (* log -0.8) 0) (cons 0 (* log 0.8))))
(flag-stencil (make-filled-box-stencil '(-0.4 . 0.4) yext))
(stroke-style (ly:grob-property stem-grob 'stroke-style))
- (stroke-stencil (if (equal? stroke-style "grace") (make-line-stencil 0.2 -0.9 -0.4 0.9 -0.4) empty-stencil)))
+ (stroke-stencil (if (equal? stroke-style "grace")
+ (make-line-stencil 0.2 -0.9 -0.4 0.9 -0.4)
+ empty-stencil)))
(ly:stencil-add flag-stencil stroke-stencil)))
{
\center-align -> \center-column
\hcenter -> \center-align
printallheaders -> print-all-headers
+\bigger -> \larger (already existing command)
+systemSeparatorMarkup -> system-separator-markup
@end example
+@noindent
+Moreover, some files in the @code{ly/} directory have been renamed;
+the *-init.ly filenames are now only used for files that are automatically
+included, while such files as @code{makam-init.ly} or @code{gregorian-init.ly}
+have been renamed to @code{makam.ly} or @code{gregorian.ly}.
+
+@item
+The ``tex'' and ``texstr'' backends have been removed. Font are now
+accessed via the fontconfig library; the Pango library is used to display
+text strings.
+
@item
Metronome marks can now also contain a textual description. The
duration and count (if given) are shown in parentheses after the text.
@lilypond[]
\relative c'' {
- \override Glissando #'bound-details #'right #'text = \markup { \center-align \bold down }
- \override Glissando #'bound-details #'right #'Y = #-4
- \override Glissando #'bound-details #'right #'padding = #0.0
- \override Glissando #'bound-details #'left #'arrow = ##t
- \override Glissando #'bound-details #'left #'padding = #3.0
+ \override Glissando #'(bound-details right text) = \markup { \center-align \bold down }
+ \override Glissando #'(bound-details right Y) = #-4
+ \override Glissando #'(bound-details right padding) = #0.0
+ \override Glissando #'(bound-details left arrow) = ##t
+ \override Glissando #'(bound-details left padding) = #3.0
\override Glissando #'style = #'trill
\override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods
\override Glissando #'minimum-length = #12
Notes or rests, such as a typical end note, that fill an entire
measure are preceded by some more space.
-@lilypond[]
-\relative c' {
- \time 4/4
- s1
- c2. c4
- \time 3/4
- c2.
-}
+@lilypond[relative=1]
+\time 4/4
+s1
+c2. c4
+\time 3/4
+c2.
@end lilypond
@item
fractions. This allows some forms of microtonal music. For example,
Turkish makam music uses 1/9th tone alterations.
-@lilypondfile{makam.ly}
+@lilypondfile{makam-example.ly}
@item
Tie directions may be set with @code{^~} and @code{_~}.