@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]
@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
@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" }
@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
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