]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/removing-connecting-bar-lines-on-staffgroup,-pianostaff,-or-grandstaff.ly
LSR: update.
[lilypond.git] / Documentation / snippets / removing-connecting-bar-lines-on-staffgroup,-pianostaff,-or-grandstaff.ly
1 %% Do not edit this file; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% This file is in the public domain.
4 \version "2.13.16"
5
6 \header {
7   lsrtags = "rhythms, tweaks-and-overrides"
8
9   texidoc = "
10 By default, bar lines in StaffGroup, PianoStaff, or GrandStaff groups
11 are connected between the staves.  This behaviour can be overridden on
12 a staff-by-staff basis.
13
14 "
15   doctitle = "Removing connecting bar lines on StaffGroup PianoStaff or GrandStaff"
16 } % begin verbatim
17
18 \relative c' {
19   \new StaffGroup <<
20     \new Staff {
21       e1 | e
22       \once \override Staff.BarLine #'allow-span-bar = ##f
23       e1 | e | e
24     }
25     \new Staff {
26       c1 | c | c
27       \once \override Staff.BarLine #'allow-span-bar = ##f
28       c1 | c
29     }
30     \new Staff {
31       a1 | a | a | a | a
32     }
33   >>
34 }
35