lilypond-user
[Top][All Lists]
Advanced

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

Re: Start volta after time signature change (instead of before)?


From: Risto Vääräniemi
Subject: Re: Start volta after time signature change (instead of before)?
Date: Fri, 21 Oct 2016 19:45:35 +0300

On 20 October 2016 at 22:16, Risto Vääräniemi <address@hidden> wrote:

On 20 October 2016 at 21:40, David Kastrup <address@hidden> wrote:
Risto Vääräniemi <address@hidden> 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
}




reply via email to

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