用 Lilypond 连接“[”条线

Connected "[" bar lines with Lilypond

如何让 "[" 类型的小节跨五线谱连接?我在文档和代码片段回购中找不到任何有用的信息。这是说明问题的 MWE。

\version "2.19.82"

rightHand = \relative c'' {

  \bar "[|:"
  \repeat volta 4 {
    ees8 g, ees' ees aes, ees' a, f' |
  }
}

leftHand = \relative c {

  \bar "[|:"
  \repeat volta 4 {
    ees8 bes' ees e, b' e f, c' |
  }
}

\score {
  \context PianoStaff <<
    \new Staff = RH {
      \clef treble \rightHand
    }

    \new Staff = LH {
      \clef bass \leftHand
    }
  >>
  \layout {
    \context {
      \Score
      %% Changing the defaults from engraver-init.ly
      startRepeatType = #"[|:"
      endRepeatType = #":|]"
      doubleRepeatType = #":|][|:"
    }
  }
}

提前致谢!

不幸的是,这个问题似乎没有简单的解决方案。 http://lsr.di.unimi.it/LSR/Item?id=991 上有一个名为 repeatBarGroupAlter 的自定义函数,它确实可以完成工作,但它有点麻烦,因为它需要您手动设置 'angle-wings' 之间的距离以及它们的抵消。