Unlike text scripts, rehearsal marks cannot be stacked at a particular point
in a score: only one RehearsalMark
object is created. Using an
invisible measure and bar line, an extra rehearsal mark can be added, giving
the appearance of two marks in the same column.
This method may also prove useful for placing rehearsal marks at both the end of one system and the start of the following system.
This snippet is obsolete starting from LilyPond version 2.23.14, which introduced the \textMark
and \textEndMark
commands. There can be several text marks at the same moment.
Thus unapproving it. --Harm