From: Graham Percival Date: Mon, 17 Mar 2008 07:46:05 +0000 (-0700) Subject: Update from Valentin. X-Git-Tag: release/2.11.43-1~35 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=187a781f3e615846258af90a0dffb6fc9e5a3db1;p=lilypond.git Update from Valentin. --- diff --git a/Documentation/user/text.itely b/Documentation/user/text.itely index 6038acd445..5f201da473 100644 --- a/Documentation/user/text.itely +++ b/Documentation/user/text.itely @@ -121,16 +121,8 @@ a4_\markup { \tiny scherz. \bold molto } f @code{\textLengthOff}. By default, text indications do not influence the note spacing. -However, their widths can be taken into account using the following -syntax: - -@example -\textLengthOn -@var{note}@code{-"text"} -\textLengthOff -@end example - -In the following example, the first text string does not affect +However, their widths can be taken into account: +in the following example, the first text string does not affect spacing, whereas the second one does. @lilypond[quote,fragment,ragged-right,verbatim,relative=1] @@ -138,9 +130,16 @@ d8^"pizz." e f g \textLengthOn a4_"scherzando" f @end lilypond -@snippets +@seealso + +Notation Reference: @ref{Text markup}. + +Snippets: @lsrdir{Text,Text} + +Internals Reference: @internalsref{TextScript}. + +@knownissues -@c FIXME: add an example and LSR-ize this? -vv Checking to make sure that text scripts and lyrics are within the margins is a relatively large computational task. To speed up processing, lilypond does not perform such calculations by @@ -151,15 +150,6 @@ default; to enable it, use @end example -@seealso - -Notation Reference: @ref{Text markup}. - -Snippets: @lsrdir{Text,Text} - -Internals Reference: @internalsref{TextScript}. - - @node Text spanners @subsubsection Text spanners @@ -175,26 +165,24 @@ spanners; attach @code{\startTextSpan} and @code{\stopTextSpan} to the first and last notes of the spanner. @lilypond[verbatim,quote,ragged-right,fragment,relative=2] -c1 -\override TextSpanner #'bound-details #'left #'text = "faster" -c2\startTextSpan b c\stopTextSpan a +c2 +\override TextSpanner #'bound-details #'left #'text = "rit." +a4\startTextSpan c +b2 e,\stopTextSpan @end lilypond @noindent -The string to be printed, as well as the style, is set through -object properties. It can accept @code{\markup} blocks as well: +The string to be printed is set through +object properties. By default, it is printed in italic characters; +however, different formatting can be obtained using +@code{\markup} blocks: -@lilypond[quote,ragged-right,fragment,relative=1,verbatim] -c1 -\textSpannerDown -\override TextSpanner #'bound-details #'left #'text = - \markup { \upright "rall" } -c2\startTextSpan b c\stopTextSpan a -\break -\textSpannerUp +@lilypond[quote,ragged-right,fragment,relative=2,verbatim] +c2 \override TextSpanner #'bound-details #'left #'text = - \markup { \italic "rit" } -c2\startTextSpan b c\stopTextSpan a + \markup { \upright "rit." } +a4\startTextSpan c +b2 e,\stopTextSpan @end lilypond @predefined @@ -206,6 +194,12 @@ c2\startTextSpan b c\stopTextSpan a @funindex textSpannerNeutral @code{\textSpannerNeutral}. +@c TODO: Document Line Styles? -vv +@ignore +The line style, as well as the text string, can be defined as an +object property, as described in @ref{Line Styles}. +@end ignore + @snippets