]> git.donarmstrong.com Git - lilypond.git/blob - input/test/staff-container.ly
release: 1.3.146
[lilypond.git] / input / test / staff-container.ly
1 \version "1.3.146"
2
3
4 \header {
5
6  texidoc = "By splitting the grouping (Axis_group_engraver) and
7 creation functionality into separate contexts, you can override
8 interesting things. You can also drop the \consistsend feature."
9
10 }
11
12
13 \score  {
14  \notes <
15         \context StaffContainer = SA { \property StaffContainer.StaffSymbol \set
16           #'staff-space = #0.8
17           \context Staff {        c4 c4 } }
18         \context StaffContainer =SB { \context Staff { d f  } }
19  >
20
21 \paper {
22         \translator {
23                 \ScoreContext
24                 \accepts StaffContainer
25                 \denies Staff
26         }
27         \translator {
28                 \type Engraver_group_engraver
29                 \consists "Axis_group_engraver"
30                 \accepts "Staff"
31                 \name StaffContainer
32
33         }
34         \translator {
35                 \StaffContext
36                 \remove Axis_group_engraver
37         }
38 }
39 }
40