Hi John,

On Sat, Apr 15, 2023 at 7:03 AM John McWilliam <[email protected]>
wrote:

> Hi,
>
>                 The enclosed attachment illustrates a Coda including a
> line break, however:
>
>
Well, actually it's illustrating two entirely separate scores that happen
to be on the same page. The two \score blocks make that happen. If it was
just a line break that section would have been something like

\score {
   \musicMain
   \break
   \musicCoda
}


>    1. I want to remove the line break and have the Coda on line 1 keeping
>    the jump text between the Main  and the Coda.
>    2. Also, there should some space between the jump text and the start
>    of the coda.
>    3. I would also like to move the jump text to the left a little to
>    reduce the empty space there but reducing the ”repeat unfold” on line 20
>    from 4 – 2 did not have the desired effect.
>
>
If I'm understanding what you want, try something like this:

 \version "2.24.1"

musicMain = \relative c'' {
  %  \set Score.dalSegnoTextFormatter = #format-dal-segno-text-brief
  \set Score.dalSegnoTextFormatter = ##f
  \key g \major \time 2/2
  a b c d
  \repeat segno 2 {
    c d e fis
    \alternative {
      \volta 1 { c d e fis }
      \volta 2 \volta #'() {
        \section
      }
    }
  }
  \cadenzaOn
  \stopStaff
  \once \override TextScript.word-space = #1.5
  \once \override TextScript.X-offset = #1
  \once \override TextScript.Y-offset = #1.5
  s1*0^\markup { \center-column { "D.S. al Coda"
                                    \line { \musicglyph "scripts.coda" }}}

  \repeat unfold 3 {
    s4 s4 s4 s4
    \bar ""
  }

  \startStaff
  \cadenzaOff
}

musicCoda = \relative c'' {
  \key ees \major \time 4/4
  e f g a b c d e
  \fine
}

\score {
  \new Staff {
    \new Voice {
      \musicMain
      \musicCoda
    }
  }
}
 That produces:
[image: Coda2.png]
which I think is more along what you were looking for if I understood
correctly?

Michael

Reply via email to