lilypond-user
[Top][All Lists]
Advanced

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

Re: Extending staff lines through key change


From: Thomas Morley
Subject: Re: Extending staff lines through key change
Date: Sun, 13 Dec 2015 11:29:45 +0100

2015-12-12 22:41 GMT+01:00 Cynthia Karl <address@hidden>:
> I’m engraving a piece that ends with a D.C. al Fine.  Also the key at the
> beginning of the piece is different from the key at the end of the piece.
> So, in order to cue the performer, a final key change is issued for the
> initial key:
>
> \version "2.19.32"
>
> { \relative c'' {
>     \key g\major
>     \repeat unfold 4 { c d e fis }
>     \break
>
>
>
>     \key f\major
>     \repeat unfold 4 { c d e f }
>     \mark\markup { D.C. }
>     \key g\major
> } }
>
> The problem with this is that the staff lines do not extend through the
> final key change.  Is there a way do do this?



As off
http://lists.gnu.org/archive/html/lilypond-devel/2015-04/msg00067.html

\new Staff \with {
  %% extends the StaffSymbol including the first entry of:
  \override StaffSymbol.break-align-symbols =
   #'(key-signature key-cancellation time-signature staff-bar break-alignment)
}
\relative c'' {
  \key g\major
  \repeat unfold 4 { c d e fis }
  \break
  \key f\major
  \repeat unfold 4 { c d e f }
  c d e f
  \mark\markup { D.C. }
  %% Maybe add:
  \override Staff.KeySignature.X-extent = #'(0 . 1.5)
  \key g\major
}

Cheers,
  Harm



reply via email to

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