Thanks Aaron ! I couldn't get it to work, at first, but I was attaching it to a "spacing voice" with no music in it. (I sometimes use a separate voice for barlines, etc... but perhaps i shouldnt be doing that)
It worked once i moved it to a voice with actual notes in it. peace! dirck ________________________________ From: Aaron Hill <lilyp...@hillvisions.com> Sent: Monday, May 6, 2024 12:09 AM To: Dirck Nagy <dn...@uwlax.edu> Cc: lilypond-user@gnu.org <lilypond-user@gnu.org>; dirckn...@hotmail.com <dirckn...@hotmail.com> Subject: Re: Rehearsal mark on right side of measure? Caution: *External Email: Use caution responding, opening attachments, or clicking on links.* On 2024-05-05 6:49 pm, Dirck Nagy wrote: > Hi all > > I am using rehearsal marks (\mark \default, to mark off repeated > sections as "A", "B", etc., instead of Dal Segno. > > One of these sections ends at the end of a line. Is there an easy way > to move the rehearsal mark to the right side of the measure, instead of > the left? I can't find a command that works. > > Or should I be using markup commands instead? No, \mark for RehearsalMarks is perfectly fine. What you need to do is firstly ensure the \mark command is located at the correct moment in the music--it sounds like you are putting the \mark at the beginning of a measure when it should appear at the next bar line--and then ensure its break-visibility is set appropriately so the mark appears on the correct line. Consider: %%%% \version "2.25.13" { \repeat unfold 3 { b'4 4 2 } \tweak break-visibility #end-of-line-visible \tweak self-alignment-X #RIGHT \mark \default \break \repeat unfold 3 { b'4 4 2 } 1 \fine } %%%% -- Aaron Hill