Using the snippet below (based on the official webpage's one) causes an
extra full measure rest to be printed out of the staff, overlapping the
mark "D.S..." (see print screen below).
It happens every time one or more full measure rests are added at the
beginning of Coda when using the version 2.24.0 snippet - It does not
happen using the version 2.18.2 equivalent snippet.

\version "2.24.0"

{
  \relative c'' {
    c4 c c c c c c c c c c c
    \repeat segno 2 {
      c4 c c c c c c c
      \alternative {
        \volta 1 {
          c4 c c c c c c c c c c c
          % If you don't use \break at Coda, use \noBreak here
          % and after \bar "" below.
          \noBreak
          \section % double bar line
          \cadenzaOn % pause bar count
          \stopStaff % remove staff lines
          % Increasing the unfold counter will expand the staff-free space
          \repeat unfold 6 {
            s1
            \bar ""
          }
          % Place JumpScript where the staff would normally be.
          \once \override Score.JumpScript.outside-staff-priority = ##f
          \once \override Score.JumpScript.Y-offset = 0
          \startStaff % resume bar count
          \cadenzaOff % show staff lines again
        }
      }
    }
    \sectionLabel "Coda"
    % Show Coda on a new line
    \break
    R1 |
    \repeat unfold 8 { c4 c c c }
    \fine
  }
}

Reply via email to