]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/staff/staff-containers.ly
Merge branch 'master' of ssh+git://hanwen@git.sv.gnu.org/srv/git/lilypond
[lilypond.git] / input / lsr / staff / staff-containers.ly
1 %%  Do not edit this file; it is auto-generated from LSR!
2 \version "2.11.23"
3
4 \header { texidoc = "
5 In this preliminary test of a modern score, the staff lines are washed
6 out temporarily. This is done by making a tuned @code{StaffContainer},
7 which @code{\skip}s some notes without printing lines either and
8 creates a @code{\new Staff} then in order to create the lines again.
9 (Be careful if you use this; it has been done by splitting the grouping
10 @code{Axis_group_engraver} and creating functionality into  separate
11 contexts, but the clefs and time signatures may not do what you would
12 expect.)
13
14     
15
16 " }
17
18 \score  {
19      \relative c'' <<
20         \new StaffContainer {
21
22             %% need << >>, otherwise we descend to the voice inside SA  
23             << \new Staff { c4 c4 } >>
24             \skip 4  % s4 would create staff.
25             
26             << \new Staff { b4 b4 } >> 
27         }
28         \new StaffContainer {
29             \skip 4
30             << \context Staff { e d f \bar ":|" } >>
31             \skip 4
32         }
33     >>
34
35     \layout {
36         \context {
37             \Score
38             \accepts StaffContainer
39             \denies Staff
40         }
41         \context {
42             \type Engraver_group
43             \consists Clef_engraver
44             \consists Time_signature_engraver
45             \consists Separating_line_group_engraver
46             \consists "Axis_group_engraver"
47             \accepts "Staff"
48             
49             \name StaffContainer
50         }
51         \context {
52             \Staff
53             \remove Axis_group_engraver
54             \remove Separating_line_group_engraver
55             \remove Clef_engraver
56             \remove Time_signature_engraver
57         }
58         raggedright=##t
59     }
60 }
61
62
63