Hi.

I am confused as to why the following doesn't work as expected. I am 
thinking the closing repeat, within the alternative 1, should have 
"ears" yet it doesn't. Have I not understood the \defineBarLine 
correctly? Or is there something else here?

(I do note if I put a \break at the end of alternative 1 then the 
bar-with-ears appears, but I don't want that all the time.)

Any help appreciated.

 .. mark.

---

\version "2.22"

\defineBarLine ".|:" #'("" "[|:" "")
\defineBarLine ":|." #'(":|]" "" "")

melody = \relative c'' {
  \clef treble
  \bar ".|:"
  \repeat volta 2 {
    a4 b c d~ |
  }
  \alternative {
    { d2 r2 | }
    { d2.\repeatTie r4 \bar "|." }
  }
}

\score {
  \new Staff      \melody
}

Reply via email to