X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fchanges.tely;h=482bbbdd659d598db0ef027dc0336ccce51bf063;hb=07125596018d32e3235e80627915cfac77323272;hp=158e4cf4ae7924455e24363a89764e70530974cb;hpb=cb04c4c790e5ad83a03b3761421db17a72aeae61;p=lilypond.git diff --git a/Documentation/changes.tely b/Documentation/changes.tely index 158e4cf4ae..482bbbdd65 100644 --- a/Documentation/changes.tely +++ b/Documentation/changes.tely @@ -61,6 +61,73 @@ which scares away people. @end ignore +@item +It is now possible to move systems with reference to their current +position using the @code{extra-offset} subproperty of +@code{NonMusicalPaperColumn.line-break-system-details}. Both vertical +and horizontal changes are possible. This feature is especially useful +for making slight adjustments to the default vertical position of +individual systems. See @ruser{Explicit staff and system positioning} for +more information. + +@item +It is now possible to add text to analysis brackets through the +@code{HorizontalBracketText} object. +@lilypond[quote,verbatim] +\layout { + \context { + \Voice + \consists "Horizontal_bracket_engraver" + } +} + +{ + \once \override HorizontalBracketText.text = "a" + c''\startGroup d''\stopGroup + e''-\tweak HorizontalBracketText.text "a'" \startGroup d''\stopGroup +} +@end lilypond + +@item +The ends of hairpins may now be fine-tuned using the @code{shorten-pair} +grob property, which previously only affected text-spanners like +@code{TupletBracket} and @code{OttavaBracket}. Positive values offset +to the right, negative to the left. +@lilypond[quote,verbatim] +{ \once \override Hairpin.shorten-pair = #'(2 . 2) + c'1~\< + c'2~ c'\! + \once \override Hairpin.shorten-pair = #'(-2 . -2) + c'1~\< + c'2~ c'\! } +@end lilypond + +@item +In fret-diagrams the distance between frets and the distance between strings is +now independently adjustable. Available are @code{fret-distance} and +@code{string-distance} as subproperties of @code{fret-diagram-details}. +@lilypond[verbatim,quote] +fretMrkp = \markup { \fret-diagram-terse #"x;x;o;2;3;2;" } + +\markuplist +\override #'(padding . 2) +\table #'(0 -1) { + "default" + + \fretMrkp + + "fret-distance" + + \override #'(fret-diagram-details . ((fret-distance . 2))) + \fretMrkp + + "string-distance" + + \override #'(fret-diagram-details . ((string-distance . 2))) + \fretMrkp +} +@end lilypond + @item Accidental rules can now be defined across @code{ChoirStaff} contexts. Two new rules @code{choral} and @code{choral-cautionary} are available @@ -68,7 +135,7 @@ that combine the characteristics of @code{modern-voice} and @code{piano} or their equivalents with cautionary accidentals. @item -The music function @code{\\unfoldRepeats} can now take an +The music function @code{\unfoldRepeats} can now take an optional argument-list specifying which type(s) of repeated music should be unfolded. Possible entries are @code{percent}, @code{tremolo}, @code{volta}. @@ -369,7 +436,7 @@ function and markup command calls can now be defined in the form of just writing the expression cut short with @code{\etc}. @lilypond[verbatim,quote] -bold-red-markup = \markup \bold \with-color #red \etc +\markup bold-red = \markup \bold \with-color #red \etc highlight = \tweak font-size 3 \tweak color #red \etc \markup \bold-red "text" @@ -947,6 +1014,82 @@ option @samp{-dstrokeadjust} to LilyPond. When generating looking @code{PDF} previews but significantly larger file size. Print quality at high resolutions will be unaffected. +@item +Default text fonts have been changed from +@code{Century Schoolbook L}, @code{sans-serif}, and @code{monospace}. + +For @code{svg} backend: +@multitable @columnfractions .15 .30 +@headitem Family @tab Default font +@item @emph{roman} @tab @code{serif} +@item @emph{sans} @tab @code{sans-serif} +@item @emph{typewriter} @tab @code{monospace} +@end multitable + +@code{serif}, @code{sans-serif}, and @code{monospace} are +@code{generic-family} in SVG and CSS specifications. + +For other backends: +@multitable @columnfractions .15 .30 .55 +@headitem Family @tab Default font (alias) @tab Alias definition lists +@item @emph{roman} +@tab @code{LilyPond Serif} +@tab +TeX Gyre Schola, +C059, Century SchoolBook URW, Century Schoolbook L, +DejaVu Serif, +..., serif +@item @emph{sans} +@tab @code{LilyPond Sans Serif} +@tab +TeX Gyre Heros, +Nimbus Sans, Nimbus Sans L, DejaVu Sans, +..., sans-serif +@item @emph{typewriter} +@tab @code{LilyPond Monospace} +@tab +TeX Gyre Cursor, +Nimbus Mono PS, Nimbus Mono, Nimbus Mono L, +DejaVu Sans Mono, +..., monospace +@end multitable + +@code{LilyPond Serif}, @code{LilyPond Sans Serif}, +and @code{LilyPond Monospace} are font aliases defined +in the LilyPond dedicated FontConfig configuration file +@code{00-lilypond-fonts.conf}. +Where a character dosen't exist in the first font listed, +the next font listed will be used instead for that character. +For details of alias definitions, please see +to @code{00-lilypond-fonts.conf} under the installed directory. + +@item +When using OpenType fonts, font features can be used. +Note: Not all OpenType fonts have all functions. + +@lilypond[quote,verbatim] +% True small caps +\markup { Normal Style: Hello HELLO } +\markup { \caps { Small Caps: Hello } } +\markup { \override #'(font-features . ("smcp")) + { True Small Caps: Hello } } + +% Number styles +\markup { Normal Number Style: 0123456789 } +\markup { \override #'(font-features . ("onum")) + { Old Number Style: 0123456789 } } + +% Stylistic Alternates +\markup { \override #'(font-features . ("salt 0")) + { Stylistic Alternates 0: εφπρθ } } +\markup { \override #'(font-features . ("salt 1")) + { Stylistic Alternates 1: εφπρθ } } + +% Multiple features +\markup { \override #'(font-features . ("onum" "smcp" "salt 1")) + { Multiple features: Hello 0123456789 εφπρθ } } +@end lilypond + @end itemize @ifhtml