lilypond-user
[Top][All Lists]
Advanced

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

Make the span bar go from top to bottom through all staves


From: Joseph N. Srednicki
Subject: Make the span bar go from top to bottom through all staves
Date: Wed, 23 Mar 2016 19:34:46 -0400

Hello:

 

Please see the attached example of an organ score.

 

Is it possible to make the span bars for the measures to extend through all staves of the system so that the bar lines appear as one solid line from top to bottom?

 

Can someone advise on how to do this?

 

I tried the various options that I saw in the documentation, but to no avail.

 

Thanks for your help.

 

Joe Srednicki

===================================

\version "2.19.35"

\language "english"

 

global = {

  \key c \minor

  \numericTimeSignature

  \time 2/4

  \tempo "Adagio" 8 = 72

 

  \override StaffGroup.BarLine #'allow-span-bar = ##t

}

 

clavTwo = \relative c'' {

 

  \global

 

  \hideNotes g'2~ %

 

 

  \unHideNotes g2~ % 1

 

  g4 f16 e d c | %2

 

}

 

rightOne = \relative c'' {

  \global

 

  \skip 2

 

  \skip 2 | % 1

 

}

 

rightTwo = \relative c'' {

  \global

 

  \skip 2

 

 

  \skip 2 | % 1

 

}

 

leftOne = \relative c' {

  \global

 

  \skip 2

 

   r16_\pp g (d' c b c d b) | % 2

 

}

 

leftTwo = \relative c' {

  \global

 

  \skip 2

 

  \skip 16 g16 f ef d e f8 | % 1

 

}

 

pedal = \relative c {

  \global

 

  \skip 2

 

  R2 | % 1

 

}

 

\score {

 

  <<

    %

    \new Staff = "upper" \with {instrumentName = "Clav. 2"} { \clef treble \clavTwo }

    \new PianoStaff

 

 

      \new StaffGroup \with {instrumentName = "Clav. 1"} {

      <<

 

        \new Staff = "right" << \rightOne \\ \rightTwo >>

        \new Staff = "left" { \clef bass << \leftOne \\ \leftTwo >> }

      >>

      }

      \new Staff = "pedal"\with {instrumentName = "Pedal"} { \clef bass \pedal }

  >>

}


reply via email to

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