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