X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fnotation%2Ftext.itely;h=159db9703d5e2ff4b87913937ce93b37b6407eb4;hb=55ac733b69643a6bc6a83b706c65cb56efd388ef;hp=14ff59f636bd9d47ab4c0099b456cba79b36c78d;hpb=db392b39dc573f406580db8b6340f84ad0dabbd6;p=lilypond.git diff --git a/Documentation/notation/text.itely b/Documentation/notation/text.itely index 14ff59f636..159db9703d 100644 --- a/Documentation/notation/text.itely +++ b/Documentation/notation/text.itely @@ -140,8 +140,9 @@ default; to enable it, use Some performance indications, e.g., @notation{rallentando} or @notation{accelerando}, are written as text and are extended over -multiple notes with dotted lines. Such objects, called @qq{spanners}, -may be created from one note to another using the following syntax: +multiple notes with dotted lines. Such objects, called +@qq{spanners}, may be created from one note to another using the +following syntax: @lilypond[verbatim,quote,relative=2] \override TextSpanner #'(bound-details left text) = "rit." @@ -155,8 +156,8 @@ e,\stopTextSpan @noindent The string to be printed is set through object properties. By default it is printed in italic characters, but different formatting can be -obtained using @code{\markup} blocks, as described in @ref{Formatting -text}. +obtained using @code{\markup} blocks, as described in +@ref{Formatting text}. @lilypond[quote,relative=2,verbatim] \override TextSpanner #'(bound-details left text) = @@ -167,9 +168,6 @@ e,\stopTextSpan The line style, as well as the text string, can be defined as an object property. This syntax is described in @ref{Line styles}. -Text spanners are part of the @code{Dynamics} context; see -@rinternals{Dynamics}. - @funindex \textSpannerUp @funindex textSpannerUp @@ -206,8 +204,7 @@ Snippets: @rlsr{Expressive marks}. Internals Reference: -@rinternals{TextSpanner}, -@rinternals{Dynamics}. +@rinternals{TextSpanner}. @node Text marks @@ -415,8 +412,8 @@ syntax called @qq{markup mode}. @cindex syntax, markup The markup syntax is similar to LilyPond's usual syntax: a -@code{\markup} expression is enclosed in curly braces @code{@{ -@dots{} @}}. A single word is regarded as a minimal expression, +@code{\markup} expression is enclosed in curly braces +@code{@{@dots{} @}}. A single word is regarded as a minimal expression, and therefore does not need to be enclosed with braces. Unlike simple @qq{quoted text} indications, @code{\markup} blocks may @@ -615,8 +612,8 @@ example, there is no difference between the first and the second word. @noindent Some of these font families, used for specific items such as numbers -or dynamics, do not provide all characters, as mentioned in @ref{New -dynamic marks} and @ref{Manual repeat marks}. +or dynamics, do not provide all characters, as mentioned in +@ref{New dynamic marks} and @ref{Manual repeat marks}. @c \concat is actually documented in Align (it is not @c a font-switching command). But we need it here. -vv @@ -692,6 +689,12 @@ Internals Reference: Installed Files: @file{scm/define-markup-commands.scm}. +@knownissues +Using the font sizing commands @code{\teeny}, @code{\tiny}, +@code{\small}, @code{\normalsize}, @code{\large}, and +@code{\huge} will lead to inconsistent line spacing compared to +using @code{\fontsize}. + @node Text alignment @unnumberedsubsubsec Text alignment @@ -752,7 +755,8 @@ a,-\markup { \halign #2 poco } @noindent Some objects may have alignment procedures of their own, and therefore are not affected by these commands. It is possible to move such -markup objects as a whole, as shown for instance in @ref{Text marks}. +markup objects as a whole, as shown for instance in +@ref{Text marks}. @cindex text, vertical alignment @cindex vertical text alignment @@ -1184,8 +1188,8 @@ d-\markup { More generally, any available musical symbol may be included separately in a markup object, as demonstrated below; an exhaustive -list of these symbols and their names can be found in @ref{The Feta -font}. +list of these symbols and their names can be found in +@ref{The Feta font}. @lilypond[quote,verbatim,relative=2] c2 @@ -1196,8 +1200,9 @@ c16 c2^\markup { \musicglyph #"timesig.neomensural94" } @end lilypond -Another way of printing non-text glyphs is described in @ref{Fonts -explained}. This is useful for printing braces of various sizes. +Another way of printing non-text glyphs is described in +@ref{Fonts explained}. This is useful for printing braces of various +sizes. The markup mode also supports diagrams for specific instruments: @@ -1395,9 +1400,9 @@ left braces; right braces may be obtained by rotation, see @ref{Rotating objects}. Three families of text fonts are made available: the @emph{roman} -(serif) font, that defaults to New Century Schoolbook, the @emph{sans} -font and the monospaced @emph{typewriter} font -- these last two -families are determined by the Pango installation. +(serif) font, that defaults to New Century Schoolbook, the +@emph{sans} font and the monospaced @emph{typewriter} font -- these +last two families are determined by the Pango installation. Each family may include different shapes and series. The following example demonstrates the ability to select alternate families, shapes, @@ -1416,8 +1421,8 @@ c4^smaller @noindent A similar syntax may be used in markup mode; however in this case it -is preferable to use the simpler syntax explained in @ref{Selecting -font and font size}: +is preferable to use the simpler syntax explained in +@ref{Selecting font and font size}: @lilypond[quote,verbatim] \markup {