lilypond-user
[Top][All Lists]
Advanced

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

Re: independently barlined staves in a StaffGroup?


From: harm6
Subject: Re: independently barlined staves in a StaffGroup?
Date: Sun, 4 Sep 2011 15:04:12 -0700 (PDT)


Jeremy Joseph Boor wrote:
> 
> In a StaffGroup using mensurstriche barlines, I would like
> to be able to place (dotted) barlines independently in the
> separate staves without having to hide them every time in
> the other staves.  It would look something like this:
> 
> 
>        _______________________________
> Soprano| :   :      :   :      :  :  ||
>        |    |    |    |    |    |    ||
> Alto   |    :  :         :   :     : ||
>        |    |    |    |    |    |    ||
> Tenor  |  :       :    : :    :    : ||
>        |    |    |    |    |    |    ||
> Bass   |  :    :   :    :        :   ||
>         -------------------------------
> 
> 
> (if that helps at all).
> 
> I want the whole sytem timed regularly, with barlines
> between staves, but each staff should act as if it 
> were under \set Score.timing = ##f, and without the
> arbitrarily placed (dotted) barlines showing up in the all
> the staves nor between them when I put them in one staff.
> 
> Any ideas?
> 
> Many thanks.
> 

Hi,

try:

\version "2.14.2"

\paper {
        ragged-right = ##f
}

bI = { 
        \once \override Staff.BarLine #'transparent = ##f 
        \once\set Staff.whichBar = ":" 
}

spanNull = \once \override Score.SpanBar #'transparent = ##t

sopran = {
        \relative c' {
        a4 b c \bI d  e f \bI g f \bI e d c d \bar "||"
        }
}

alt = {
        \relative c' {
         a a\bI a a b b\bI \spanNull b b c c c\bI c
        }
}

tenor = {
        \relative c' {
        c c c\bI \spanNull c d d d\bI d e e e\bI \spanNull e
        }
}

bass = {
        \relative c' {
        c\bI c c c d\bI d d d e\bI e e\bI e
        }
}
\score {
        <<
        \new StaffGroup <<
        \new Staff \sopran
        \new Staff \alt
        \new Staff \tenor
        \new Staff \bass
        >> 
        >>
        \layout {
                \context { 
                      \Staff
                      \override BarLine #'transparent = ##t 
                }
        }
}  

Best,
  Harm

-- 
View this message in context: 
http://old.nabble.com/independently-barlined-staves-in-a-StaffGroup--tp32397090p32397781.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.




reply via email to

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