lilypond-devel
[Top][All Lists]
Advanced

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

Re: Staff ends before \clef, \time and \key


From: David Kastrup
Subject: Re: Staff ends before \clef, \time and \key
Date: Tue, 07 Apr 2015 18:59:57 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Reinhold Kainhofer <address@hidden> writes:

> Hi all,
> It's been quite a while since I last used LilyPond, and I finally
> decided to wrap up the last, huge edition I was working on for quite a
> while.
>
> Here is the first issue I'm running into:
> If I end a piece with a \bar "||" and after that only want to indicate
> a key/clef/time change, the staff lines stop with the bar line. A
> typical use case is in a work with multiple movements to indicate
> "attacca" to the next movement, which is written as a separate
> \score. Minimal example:
>
> \version "2.19.19"
> \relative c'' {
>    c4 a b c
>    \bar"||"
>    \key f \major \time 3/4
> }
>
> Output PDF is attached.
> I should probably mention that the snippet works just fine in Lilypond
> 2.18. Only Lilypond 2.19 breaks.
>
> Any idea how to keep the staff lines alive until the key/time/clef change?

That sounds like issue 660
<URL:https://code.google.com/p/lilypond/issues/detail?id=660>.

Try
  \override Staff.StaffSymbol.break-align-symbols = #'(time-signature 
key-signature staff-bar break-alignment)

The default is just #'(staff-bar break-alignment) and the staff will
reach to the first encountered element in the list.

This might warrant some better documentation I suppose.

-- 
David Kastrup



reply via email to

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