Dear Knute,

Try this hacky solution. Does this accomplish what you wanted?

-William

% --------
\version "2.24.4"

\relative {
  \repeat volta 2 {
    \clef bass
    c4 c c c |
    \textMark A
    c4
  }
  \repeat volta 2 {
    \grace s4 % <---
    \clef treble c''4 c c |
    \textMark B
    \clef bass c,,4 c c c |
  }
}
% --------

On 7/2/25 14:49, Knute Snortum wrote:
Hi everyone,

I have a situation where I need an advisory clef to be on the right side of a repeat bar.  Here is my MWE:

%%%
\version "2.24.4"

\relative {
   \repeat volta 2 {
     \clef bass
     c4 c c c |
     \textMark A
     c4
   }
   \repeat volta 2 {
     \clef treble c''4 c c |
     \textMark B
     \clef bass c,,4 c c c |
   }
}
%%%

I want the treble clef at A to be on the right side of the repeat bar, but still have the bass clef at B be on the left side of the barline. Changing the X-offset doesn't seem to work and I can't think of what else to change (other than extra-offset, which won't do what I want.)

--
Knute Snortum


--
William Rehwinkel (any pronouns)
Juilliard School '26 - Oberlin Conservatory '24
[email protected] - https://williamrehwinkel.net
PGP Public Key: https://ftp.williamrehwinkel.net/pubkey.txt

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to