From 47e37391d27d04aec368099f9db4d44b5e114bcd Mon Sep 17 00:00:00 2001 From: Valentin Villenave Date: Fri, 18 Apr 2008 09:36:00 +0200 Subject: [PATCH] Small corrections to NR 1.8.1 "Writing Text" (hopefully this section is now finished) --- Documentation/user/text.itely | 41 +++++++++++++++++------------------ 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/Documentation/user/text.itely b/Documentation/user/text.itely index 67687b6130..8fef6bef56 100644 --- a/Documentation/user/text.itely +++ b/Documentation/user/text.itely @@ -122,9 +122,8 @@ default; to enable it, use Some performance indications, e.g., @i{rallentando} or @i{accelerando}, are written as text and are extended over many measures with dotted lines. - Such objects, called @q{spanners}, may be created -from one note to another by using the following syntax: +from one note to another using the following syntax: @lilypond[verbatim,quote,ragged-right,fragment,relative=2] \override TextSpanner #'bound-details #'left #'text = "rit." @@ -134,9 +133,9 @@ e,\stopTextSpan @noindent The string to be printed is set through -object properties. By default it is printed in italic characters, +object properties. By default it is printed in italic characters, but different formatting can be obtained using -@code{\markup} blocks: +@code{\markup} blocks, as described in @ref{Formatting text}. @lilypond[quote,ragged-right,fragment,relative=2,verbatim] \override TextSpanner #'bound-details #'left #'text = @@ -146,7 +145,7 @@ e,\stopTextSpan @end lilypond The line style, as well as the text string, can be defined as an -object property. This syntax is described in @ref{Line styles}. +object property. This syntax is described in @ref{Line styles}. @predefined @@ -180,7 +179,7 @@ Various text elements can be added to a score using the syntax described in @ref{Rehearsal marks}: @lilypond[verbatim,quote,ragged-right,fragment,relative=2] -c4\mark "dolce" c c c +c4\mark "Allegro" c c c @end lilypond This syntax makes possible to put any text on a bar line; @@ -195,14 +194,14 @@ c1 @end lilypond @noindent -Such objects are only typeset above the top staff of the score; they -can be placed above the bar line or between notes, depending on whether -you specify it at the end or the middle of a bar. When specified at the -beginning of a score or at a line break, the mark will be printed at +Such objects are only typeset above the top staff of the score; depending on +whether they are specified at the end or the middle of a bar, they +can be placed above the bar line or between notes. When specified at the +beginning of a score or at a line break, marks will be printed at the beginning of the line (the next line, in case of a line break). @lilypond[fragment,quote,ragged-right,verbatim,relative=2] -\mark "dolce" c1 +\mark "Allegro" c1 c\mark "assai" \break c c @end lilypond @@ -282,6 +281,13 @@ text documents or books -- and therefore to use LilyPond as a word processor. This syntax is described in @ref{Multi-page markup}. +@predefined + +@funindex \markup +@code{\markup}, +@funindex \markuplines +@code{\markuplines} + @ignore @snippets @@ -290,8 +296,8 @@ TODO: add convenient snippets in input/new -vv @seealso -Notation Reference: @code{Formatting text}, -@code{File structure}, +Notation Reference: @ref{Formatting text}, +@ref{File structure}, @ref{Multiple scores in a book}, @ref{Multi-page markup}. @@ -300,13 +306,6 @@ Snippets: Internals Reference: @internalsref{TextScript}. -@predefined - -@funindex \markup -@code{\markup}, -@funindex \markuplines -@code{\markuplines} - @node Formatting text @subsection Formatting text @@ -332,7 +331,7 @@ using the @code{\markup} mode specific syntax. @cindex typeset text A @code{\markup} block is used to typeset text with an extensible syntax, -called @q{markup mode}. +called @qq{markup mode}. Specific commands can be entered in this mode, using the backslash @code{\} character. @c TODO: move the following sentence (and add an example?) -vv -- 2.39.5