\mark
command [obsolete in 2.23]By default the \mark
command centers objects over a bar line. This behavior can be modified to align at right or left.
This snippet is less necessary starting from LilyPond version 2.23.14, where the \textMark
and \textEndMark
commands have been introduced as an alternative to \mark
used with markup. To obtain a left-aligned text mark, use \textMark
, and \textEndMark
for a right-aligned mark. In most cases, this interface is enough. If you would like to fine-tune the alignment nevertheless, you can still use the override in this snippet, replacing RehearsalMark
with TextMark
.
Furthermore, using self-alignment-X
is explained multiple times in NR. Thus I unapprove it. --Harm