I'm transcribing an SA-TB piece with lyrics between the two staves and using a ChoirStaff so there are no spanning bar lines between the staves that would interfere with the lyrics.  But my source does add spanning bar lines at the end of each system.

How can I get bar lines in a ChoirStaff to span staves only at the end of each system?

See attached MWE-ChoirStaff-end-bars.ly

Jeff
\version "2.22.1"

\header {
  tagline = ##f
}

global = {
  \key c \major
  \time 4/4
}

soprano = {
  a'1 b'
  \bar "|."
}

alto = \relative {
  \global
  % Music follows here.
  
}

tenor = {
  f1 g
  
}

bass = \relative {
  \global
  % Music follows here.
  
}

verse = \lyricmode {
  A -- men
  
}

\score {
  \new ChoirStaff <<
    \new Staff  <<
      \new Voice = "soprano" { \voiceOne \soprano }
    >>
    \new Lyrics \with {
      \override VerticalAxisGroup #'staff-affinity = #CENTER
    } \lyricsto "soprano" \verse
    \new Staff  <<
      \clef bass
      \new Voice = "tenor" { \voiceOne \tenor }
    >>
  >>
  \layout { }
}

Reply via email to