Dear Thomas, Let me know if the attached file achieves what you were hoping for.
Thanks, -William % -------- \version "2.25.21" scoreAViolinIPart = {c'4 c' c' c' c' c' c' c' c' c' c' c' c'1 } scoreAViolinIIPart = {% for every staff which is the BOTTOM of a group (example: piano left hand)
% OR where you don't want a connecting line below, % include this override \override Staff.BarLine.allow-span-bar = ##f c'4 c' c' c' | % before the FIRST NOTE of the NEXT measure \once \override Staff.BarLine.allow-span-bar = ##tc' c' c' c' | c' c' c' c' | c'1 \override Staff.BarLine.allow-span-bar = ##t \bar "|."
}scoreASopranoVoicePart = { \override Staff.BarLine.allow-span-bar = ##f c'4 c' c' c' |
\once \override Staff.BarLine.allow-span-bar = ##t c' c' c' c' | c' c' c' c' | c'1 \override Staff.BarLine.allow-span-bar = ##t }scoreAAltoVoicePart = { \override Staff.BarLine.allow-span-bar = ##f c'4 c' c' c' |
\once \override Staff.BarLine.allow-span-bar = ##t c' c' c' c' | c' c' c' c' | c'1 \override Staff.BarLine.allow-span-bar = ##t }scoreATenorVoicePart = { \override Staff.BarLine.allow-span-bar = ##f c'4 c' c' c' |
\once \override Staff.BarLine.allow-span-bar = ##t c' c' c' c' | c' c' c' c' | c'1 \override Staff.BarLine.allow-span-bar = ##t }scoreABassVoicePart = { \override Staff.BarLine.allow-span-bar = ##f c'4 c' c' c' |
\once \override Staff.BarLine.allow-span-bar = ##t c' c' c' c' | c' c' c' c' | c'1 \override Staff.BarLine.allow-span-bar = ##t } scoreABassoContinuoPart = {c'4 c' c' c' | c' c' c' c' | c' c' c' c' | c'1 } \score { << \new StaffGroup << \new Staff \scoreAViolinIPart \new Staff \scoreAViolinIIPart >> \new ChoirStaff << \new Staff \scoreASopranoVoicePart \new Staff \scoreAAltoVoicePart \new Staff \scoreATenorVoicePart \new Staff \scoreABassVoicePart >> \new Staff \scoreABassoContinuoPart >> \layout { \context { \Score \consists Span_bar_engraver } } } % -------- On 12/3/24 08:22, Thomas Scharkowski wrote:
Hi, I have this Score: << \new StaffGroup << \scoreAViolinIPart \scoreAViolinIIPart >> \new ChoirStaff << \scoreASopranoVoicePart \scoreAAltoVoicePart \scoreATenorVoicePart \scoreABassVoicePart >> \scoreABassoContinuoPart >> I would like barlines through all staves at some places, but cannot find a solution by myself. Help appreciated! Thanks, Thomas
-- William Rehwinkel (any pronouns) Juilliard School '26 - Oberlin Conservatory '24 will...@williamrehwinkel.net - https://williamrehwinkel.net PGP Public Key: https://ftp.williamrehwinkel.net/pubkey.txt
\version "2.25.21" scoreAViolinIPart = {c'4 c' c' c' c' c' c' c' c' c' c' c' c'1 } scoreAViolinIIPart = { % for every staff which is the BOTTOM of a group (example: piano left hand) % OR where you don't want a connecting line below, % include this override \override Staff.BarLine.allow-span-bar = ##f c'4 c' c' c' | % before the FIRST NOTE of the NEXT measure \once \override Staff.BarLine.allow-span-bar = ##t c' c' c' c' | c' c' c' c' | c'1 \override Staff.BarLine.allow-span-bar = ##t \bar "|." } scoreASopranoVoicePart = { \override Staff.BarLine.allow-span-bar = ##f c'4 c' c' c' | \once \override Staff.BarLine.allow-span-bar = ##t c' c' c' c' | c' c' c' c' | c'1 \override Staff.BarLine.allow-span-bar = ##t } scoreAAltoVoicePart = { \override Staff.BarLine.allow-span-bar = ##f c'4 c' c' c' | \once \override Staff.BarLine.allow-span-bar = ##t c' c' c' c' | c' c' c' c' | c'1 \override Staff.BarLine.allow-span-bar = ##t } scoreATenorVoicePart = { \override Staff.BarLine.allow-span-bar = ##f c'4 c' c' c' | \once \override Staff.BarLine.allow-span-bar = ##t c' c' c' c' | c' c' c' c' | c'1 \override Staff.BarLine.allow-span-bar = ##t } scoreABassVoicePart = { \override Staff.BarLine.allow-span-bar = ##f c'4 c' c' c' | \once \override Staff.BarLine.allow-span-bar = ##t c' c' c' c' | c' c' c' c' | c'1 \override Staff.BarLine.allow-span-bar = ##t } scoreABassoContinuoPart = {c'4 c' c' c' | c' c' c' c' | c' c' c' c' | c'1 } \score { << \new StaffGroup << \new Staff \scoreAViolinIPart \new Staff \scoreAViolinIIPart >> \new ChoirStaff << \new Staff \scoreASopranoVoicePart \new Staff \scoreAAltoVoicePart \new Staff \scoreATenorVoicePart \new Staff \scoreABassVoicePart >> \new Staff \scoreABassoContinuoPart >> \layout { \context { \Score \consists Span_bar_engraver } } }
OpenPGP_signature.asc
Description: OpenPGP digital signature