4 \context AutoSwitchGrandStaff \relative c' {
5 c8 d b a' a, f' g,4 ~ g
11 \translator { \ScoreContext
12 \accepts AutoSwitchGrandStaff;
15 \type "Engraver_group_engraver";
16 \name AutoSwitchGrandStaff;
17 \consists "Span_bar_engraver";
18 \consists "Vertical_align_engraver";
19 \consists "Piano_bar_engraver";
20 \consistsend "Axis_group_engraver";
21 minVerticalAlign = 2.*\staffheight;
22 maxVerticalAlign = 2.*\staffheight;
23 switcherName = "Voice";
24 acceptorName = "Thread";
25 staffContextName = "Staff";
27 \accepts "AutoSwitchContext";
31 \type "Engraver_group_engraver";
32 \name "AutoSwitchContext";
33 \consists "Staff_switching_translator";