From b0228479d9fa9845ce8f5aefde25852fd9c491b9 Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Wed, 12 Mar 2008 08:57:31 -0700 Subject: [PATCH] Update from Valentin. --- Documentation/user/text.itely | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/Documentation/user/text.itely b/Documentation/user/text.itely index e2fd3ee2dd..6038acd445 100644 --- a/Documentation/user/text.itely +++ b/Documentation/user/text.itely @@ -94,17 +94,13 @@ Snippets: @lsrdir{Text,Text} It is possible to add arbitrary text indications with @var{note}@code{-"}@var{text}@code{"}. - -@lilypond[quote,fragment,ragged-right,verbatim,relative=1] -d8-"scherzando" e f g a4 f -@end lilypond - -Text indications can be placed above or below the staff, using the +Such indications can also be manually placed +above or below the staff, using the simple syntax described in @ref{Controlling direction and -placement}: +placement}. @lilypond[quote,fragment,ragged-right,verbatim,relative=1] -d8^"pizz." e f g a4_"scherz." f +d8^"pizz." e f g a4-"scherz." f @end lilypond In LilyPond, such text strings are called @command{markup} @@ -126,12 +122,13 @@ a4_\markup { \tiny scherz. \bold molto } f By default, text indications do not influence the note spacing. However, their widths can be taken into account using the following -syntax (the first command allows text to influence spacing, the -second one goes back to the default behavior): +syntax: -@example -\textLengthOn @var{note}@code{-"text"} \textLengthOff -@end example +@example +\textLengthOn +@var{note}@code{-"text"} +\textLengthOff +@end example In the following example, the first text string does not affect spacing, whereas the second one does. -- 2.39.2