3 lsrtags = "expressive-marks,text,tweaks-and-overrides"
5 Unlike text scripts, rehearsal marks cannot be stacked at a particular point
6 in a score: only one @code{RehearsalMark} object is created. Using an
7 invisible measure and bar line, an extra rehearsal mark can be added, giving
8 the appearance of two marks in the same column.
10 This method may also prove useful for placing rehearsal marks at both the
11 end of one system and the start of the following system.
13 doctitle = "Creating simultaneous rehearsal marks"
16 % Thanks to Risto Vääräniemi for this snippet
18 \paper { ragged-right = ##t }
22 \set Score.markFormatter = #format-mark-box-letters
23 \once \override Score.RehearsalMark #'outside-staff-priority = #5000
24 \once \override Score.RehearsalMark #'self-alignment-X = #LEFT
25 \once \override Score.RehearsalMark #'break-align-symbols = #'(key-signature)
26 \mark \markup { \bold "Senza denti" }
28 % the hidden measure and bar line
29 \once \override Score.TimeSignature #'stencil = ##f
34 \once \override Score.RehearsalMark #'self-alignment-X = #LEFT
35 \once \override Score.RehearsalMark #'break-align-symbols = #'(bar-line)
36 \mark \markup { \box \bold "Intro" }