lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2.23.81 blank bar of new line between D.S. and coda


From: Jean Abou Samra
Subject: Re: 2.23.81 blank bar of new line between D.S. and coda
Date: Mon, 28 Nov 2022 01:38:42 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0



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

[Prev in Thread] Current Thread [Next in Thread]