Le 25/11/2022 à 04:08, Paul Scott a écrit :
How do I add a totally blank bar (something like \stopStaff s1 \startStaff) between the D.S. and the Coda in the following example?

Or a new line?

\version "2.23.81"

music = {
  \repeat segno 2 {
    c'1 1 1
    \alternative{
      \volta 2 \volta #'() {
    \section
    \sectionLabel "Coda"
      }
    }
    c'1
    \once \set Score.dalSegnoTextFormatter =
    #(lambda (context repeat-count markups)
      #{ \markup \column { "D.S." "Al Coda" "with Repeats" } #})
  }
  d'1 \bar "|."
}


For me, this works:

\version "2.23.81"

{
  \repeat segno 2 {
    c'1 1 1
    \once \set Score.dalSegnoTextFormatter =
    #(lambda (context repeat-count markups)
      #{ \markup \column { "D.S." "Al Coda" "with Repeats" } #})
  }
  \stopStaff
  s1*4
  \startStaff
  \section
  \sectionLabel "Coda"
  d'1 \bar "|."
}


Note that this doesn't have your "c'1" before \once \set ...
Was that one intended? The way you wrote it, the first
note in the section marked "Coda" is actually already
played the first time, and "D.S. Al Coda with Repeats"
appears one measure after "Coda" (as is clear if you
change \column { ... } to \column \right-align { ... } ).

Best,
Jean

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to