lilypond-user
[Top][All Lists]
Advanced

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

Re: Connecting bar lines in ChoirStaff


From: Rune Zedeler
Subject: Re: Connecting bar lines in ChoirStaff
Date: Sun, 08 Jul 2007 16:19:45 +0200
User-agent: Thunderbird 1.5.0.12 (X11/20070604)

Rune Zedeler skrev:
But what you /can/ do is to use a StaffGroup and then make the span bars transparent apart from at the end of the measure

You could also automatically make single bars ("|") invisible but still show all other kind of bars - like this:

\version "2.10.25"

mus = { \clef F c d e f c d e f c d e f c d e f \bar "||" c d e f c d e f c d e f \bar "|." }

\new StaffGroup {
  \override StaffGroup.SpanBar #'stencil =
  #(lambda (a)
    (if (string=? (ly:grob-property a 'glyph-name) "|")
        (set! (ly:grob-property a 'glyph-name) "")) (ly:span-bar::print a))
  <<
    \new Staff \mus
    \new Staff \mus
  >>
  \bar "|."
}




-Rune




reply via email to

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