On 24.03.2016 00:34, Joseph N. Srednicki wrote:

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?


Of course: just make it one StaffGroup (or PianoStaff, as you like). I’d suggest something like the attached. (A propos: your inline code was messed up on the way; please send your e-mail as plain text only or attach the code)

Yours, Simon
\version "2.19.35"
\language "english"

global = {
  \key c \minor
  \numericTimeSignature
  \time 2/4
  \tempo "Adagio" 8 = 72
}

clavTwo = \relative c'' {
  \global
  \hideNotes g'2~ %
  \unHideNotes g2~ % 1
  g4 f16 ef 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 ef f8 | % 1
}

pedal = \relative c {
  \global
  \skip 2
  R2 | % 1
}

\score {
  \new StaffGroup <<
    \new Staff = "upper" \with {instrumentName = "Clav. 2"} { \clef treble \clavTwo }
    \new StaffGroup \with {
      systemStartDelimiter = #'SystemStartSquare
      instrumentName = "Clav. 1"
    } {
      <<
        \new Staff = "right" << \rightOne \\ \rightTwo >>
        \new Staff = "left" { \clef bass << \leftOne \\ \leftTwo >> }
      >>
    }
    \new Staff = "pedal"\with {instrumentName = "Pedal"} { \clef bass \pedal }
  >>
}
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to