lilypond-user
[Top][All Lists]
Advanced

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

Re: Key and time change at end of piece


From: Jean Abou Samra
Subject: Re: Key and time change at end of piece
Date: Fri, 17 Feb 2023 13:50:03 +0100


> Le 17 févr. 2023 à 10:37, Aberforth D - Instrumentals <aberforthg@gmail.com> 
> a écrit :
> 
> 
> Hello,
> 
> I am working on a complete piano vocal score for an opera. To keep things 
> manageable I work on individual pieces one at a time, one file per piece. I 
> intend to combine them later with a superseding file into a book. My problem 
> is this: Sometimes, a piece ends with a key change or time change in 
> anticipation of the next piece. In such cases a piece typically ends with a 
> double barline, because it is not the real end of the piece, followed by the 
> key change and time change symbols and open ended staff lines at the right 
> margin. However, when I use the following code, the staff lines are not 
> printed. How can I force Lilypond to print the staff lines all the way to the 
> end, without actually including more musical content? Below is a short 
> example that illustrates the problem. Thank you for your help.
> 
> \version "2.20.0"
> \language "english"
> 
> \score {
>   \new Staff {
>     \key f \major \time 4/4 
>     c'4 d' e' f' g' a' b' c'' \bar "||"
>     \clef "bass" \key g \major \time 3/4
>   }
> }


Try adding

\layout {
  \override Staff.StaffSymbol.break-align-symbols = #'(break-alignment)
}






reply via email to

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