On 20 October 2016 at 22:16, Risto Vääräniemi <[email protected]> wrote:

>
> On 20 October 2016 at 21:40, David Kastrup <[email protected]> wrote:
>
>> Risto Vääräniemi <[email protected]> writes:
>>
>> > Is there a way to start the volta repeat after the time signature
>> change?
>>
>> Something akin to
>>
>>
I experimented a bit because the first solution did not behave well at line
breaks. Also the spacing before the time signature was a bit tight. It's
not very minimal anymore but I could not find an easy solution to replace
only the middle of the line part of the vector.

-Risto

---

\version "2.19.49"

timeSigBeforeVolta = {
  \once \override Score.BreakAlignment.break-align-orders =
    ##((left-edge cue-end-clef ambitus breathing-sign clef cue-clef
         staff-bar key-cancellation key-signature time-signature custos)
      (left-edge time-signature staff-bar) ; David's part
      (left-edge ambitus breathing-sign clef key-cancellation
        key-signature time-signature staff-bar cue-clef custos))
  \once \override Score.TimeSignature.extra-spacing-width = #'(-0.8 . 0.8)
}

\relative c' {
  \key f \major
  \time 2/4 c4 c
  \break
  \timeSigBeforeVolta
  \time 4/4 \repeat volta 2 {
  c c c c }
  c c c c
}
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to