Hi Lukas, Hi Ken, You probably want to play around with stuff like break-visibility. By default RehearsalMark as end-of-line-invisible, so they are printed at the begin of a system, but not at the end.
Also if you want to do something like have the segno at the end of the top system and the coda at the start if the lower system on a break, you can do something like this. Cheers, Valentin Am Dienstag, 19. Oktober 2021, 08:58:51 CEST schrieb Kenneth Wolcott: > Hi Lukas; > > Thank you so much! This will go into my "hints/tips/snippets" collection. > > Ken > > On Mon, Oct 18, 2021 at 11:41 PM Lukas-Fabian Moser <[email protected]> wrote: > > Hi Kenneth, > > > > Am 19.10.21 um 07:57 schrieb Kenneth Wolcott > > > > > So, what is the correct method to obtain these symbols displayed > > > > > > adjacent to each other? > > > > > > Thanks, > > > Ken Wolcott > > > > Would > > > > \version "2.22" > > > > { > > > > g'2 8 4. > > \mark \markup { > > > > \musicglyph "scripts.segno" > > \musicglyph "scripts.coda" > > > > } > > b'2 > > > > } > > > > be good enough? (Strictly speaking, we would like to have the center of > > the markup exactly on the space between the to glyphs, but since they > > are roughly the same width, maybe this solution already works. > > > > To decrease the space between the two symbols, try adding \concat after > > \markup. > > > > Lukas
\version "2.22"
prebreakmarkup = \markup\musicglyph "scripts.segno"
postbreakmarkup = \markup\musicglyph "scripts.coda"
#(define (marksplitcallback grob)
(let ((status (ly:item-break-dir grob)))
(cond ((< status 0) ; broken end
(ly:grob-set-property! grob 'text prebreakmarkup)
(ly:grob-set-property! grob 'stencil (ly:text-interface::print grob)))
((> status 0) ; broken start
(ly:grob-set-property! grob 'text postbreakmarkup)
(ly:grob-set-property! grob 'stencil (ly:text-interface::print grob))))))
{
g'2 8 4.
\once\override Score.RehearsalMark.after-line-breaking = #marksplitcallback
\once\override Score.RehearsalMark.break-visibility = #all-visible
\mark \markup {
\musicglyph "scripts.segno"
\musicglyph "scripts.coda"
} \break
b'2 r |
g'2 8 4.
\once\override Score.RehearsalMark.after-line-breaking = #marksplitcallback
\once\override Score.RehearsalMark.break-visibility = #all-visible
\mark \markup {
\musicglyph "scripts.segno"
\musicglyph "scripts.coda"
}
b'2
}
signature.asc
Description: This is a digitally signed message part.
