From: Graham Percival Date: Tue, 18 Mar 2008 12:06:27 +0000 (-0700) Subject: Update from Valentin. X-Git-Tag: release/2.11.43-1~28 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=06a725b0ab7fade8896d5f557dfb52ef8e27adb3;p=lilypond.git Update from Valentin. --- diff --git a/Documentation/user/text.itely b/Documentation/user/text.itely index 486421c50c..7458a3d5fa 100644 --- a/Documentation/user/text.itely +++ b/Documentation/user/text.itely @@ -171,8 +171,8 @@ e,\stopTextSpan @noindent 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 +object properties. By default it is printed in italic characters, +but different formatting can be obtained using @code{\markup} blocks: @lilypond[quote,ragged-right,fragment,relative=2,verbatim] @@ -191,20 +191,8 @@ e,\stopTextSpan @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 - -To print a solid line, use - -@example -\override TextSpanner #'style = #'line -@end example +object property, as described in @ref{Line styles}. @seealso @@ -223,17 +211,16 @@ Internals Reference: @internalsref{TextSpanner}. @cindex bar lines, symbols on @funindex \mark -The @code{\mark} command is primarily used for @ref{Rehearsal -marks}, but it can also be used to add text elements in a score: +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 "text" c c c +c4\mark "dolce" c c c @end lilypond -As it can contain a @code{\markup} object, the @code{\mark} command -makes possible to put any text, but also signs like coda, segno, or -fermata on a bar line. The appropriate symbol has to be specified in -the @code{\markup} block; these symbols are listed in @ref{The Feta font}. +This syntax makes possible to put any text on a bar line, but also +signs like coda, segno, or fermata, by specifying the appropriate +symbol name. These symbols are listed in @ref{The Feta font}. @lilypond[fragment,quote,ragged-right,verbatim,relative=2] c1 \mark \markup { \musicglyph #"scripts.ufermata" } @@ -241,20 +228,17 @@ c1 @end lilypond @noindent -@code{\mark} is only typeset above the top staff of the score. If -you specify the @code{\mark} command at a bar line, the resulting -mark is placed above the bar line. If you specify it in the -middle of a bar, the resulting mark is positioned between notes. -If it is specified before the beginning of a score line, it is -placed before the first note of the line. Finally, if the mark -occurs at a line break, the mark will be printed at the beginning -of the next line. +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 +the beginning of the line (the next line, in case of a line break). -@c IMO this is a bug; hopefully it'll be fixed soon, so I can -@c delete this sentence. -gp -@noindent -If there is no next line, then the mark will not be printed at -all. +@lilypond[fragment,quote,ragged-right,verbatim,relative=2] +\mark "dolce" c1 +c\mark "assai" \break +c c +@end lilypond @snippets @@ -369,6 +353,14 @@ Snippets: @lsrdir{Text,Text} Internals Reference: @internalsref{RehearsalMark}. +@knownissues +@c IMO this is a bug; hopefully it'll be fixed soon, so I can +@c delete this sentence. -gp + +If a mark is entered at the end of the last bar of the score (where +there is no next line), then the mark will not be printed at +all. + @c TODO: add this here? -vv @c @node Text marks @c @subsubsection Text marks