lilypond-user
[Top][All Lists]
Advanced

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

Re: Inter-staff bar line for ChoirStaff?


From: Valentin Petzel
Subject: Re: Inter-staff bar line for ChoirStaff?
Date: Fri, 18 Mar 2022 03:11:30 +0100

Hello Matthew,

if you want you can even automatise this:

\version "2.22.2"

\layout {
   \context {
     \ChoirStaff
     \consists Span_bar_engraver
     \override BarLine.allow-span-bar =
     #(lambda (grob)
        (equal? (ly:grob-property grob 'glyph)
                "||"))
   }
}


\new ChoirStaff <<
   \new Staff { 1 1 \bar "||" 1 }
   \new Staff { 1 1 1 }
 >>

Cheers,
Valentin

Am Freitag, 18. März 2022, 00:44:46 CET schrieb Matthew Fong:
> Dear Jean,
> 
> Grazie mille! This is exactly what I was looking for:
> [image: Screen Shot 2022-03-17 at 16.43.13.png]
> 
> Many thanks,
> mattfong
> 
> On Thu, Mar 17, 2022 at 3:55 PM Jean Abou Samra <jean@abou-samra.fr> wrote:
> > Le 17/03/2022 à 23:22, Matthew Fong a écrit :
> > > Hello Jean,
> > > 
> > > I only want the bar lines interstaff at the double bar, and not at
> > > every measure. The purpose is this helps better visually mark the end
> > > of a phrase.
> > > 
> > > I'm also trying to avoid Mensurstriche layout, since the choir doesn't
> > > seem to like it very much.
> > > 
> > > 
> > > Many thanks,
> > > mattfong
> > 
> > Ah, sorry, I misread completely. You could do
> > 
> > \version "2.22.2"
> > 
> > \layout {
> > 
> >    \context {
> >    
> >      \ChoirStaff
> >      \consists Span_bar_engraver
> >      \override BarLine.allow-span-bar = ##f
> >    
> >    }
> > 
> > }
> > 
> > spanBarHere = \once \override ChoirStaff.BarLine.allow-span-bar = ##t
> > 
> > 
> > \new ChoirStaff <<
> > 
> >    \new Staff { 1 1 \spanBarHere \bar "||" 1 }
> >    \new Staff { 1 1 1 }

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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