lilypond-user
[Top][All Lists]
Advanced

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

Re: final bar line only to have a SpanBar


From: Xavier Scheuer
Subject: Re: final bar line only to have a SpanBar
Date: Thu, 12 Jan 2012 15:09:01 +0100

On 12 January 2012 14:57, Klaus Föhl <address@hidden> wrote:
> Hello,
>
> When using ChoirStaff, bar lines do not span which is intentional.
> Short example:
>
> \version "2.12.3"
> \new ChoirStaff <<
>  \new Staff { c'1 c'1 \bar "|." }
>  \new Lyrics \lyricmode { some Text }
>  \new Staff { c'1 c'1 } >>
>
> But one often finds that the final bar line (only) is spanning all staff 
> lines.
> I have come up with the following:
>
> \version "2.12.3"
> \new StaffGroup <<
>  \new Staff { \override Staff.BarLine #'allow-span-bar = ##f
>             c'1 c'1
>             \override Staff.BarLine #'allow-span-bar = ##t
>             \bar "|."
>             }
>  \new Lyrics \lyricmode { some Text }
>  \new Staff { c'1 c'1 } >>
>
> While this seems to work, it is somewhat non-intuitive using StaffGroup
> instead of ChoirStaff. Is there a better way of achieving this?
>
> And is it worth having a snippet for this? There is a snippet for the
> Mensurstrich layout, but this does not help for standard ChoirStaff.

Hi,

There is a snippet implementing "SemiChoirStaff".
http://lsr.dsi.unimi.it/LSR/Item?id=299

Cheers,
Xavier

-- 
Xavier Scheuer <address@hidden>



reply via email to

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