]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/auto-staff-switch.ly
release: 1.1.52
[lilypond.git] / input / test / auto-staff-switch.ly
index dfb278193b3db3f4276da66584b62d5c7a2add48..627447148ddf1d2cd852b94a8c81bb7377d4d83c 100644 (file)
@@ -1,8 +1,8 @@
 
 \score  {
 \notes {
-       \type AutoSwitchGrandStaff \relative c' {
-       c8^8 d^8 b^8 a^8 [a,^8 f'^8 g,^8 ~ g]
+       \context AutoSwitchGrandStaff \relative c' {
+       c8 d b a' a, f' g,4 ~ g
 
        }
 }
 \accepts AutoSwitchGrandStaff;
 }
 \translator{
-       \type "Line_group_engraver_group";
+       \type "Engraver_group_engraver";
        \name AutoSwitchGrandStaff;
        \consists "Span_bar_engraver";
        \consists "Vertical_align_engraver";
        \consists "Piano_bar_engraver";
+       \consistsend "Axis_group_engraver";
        minVerticalAlign = 2.*\staffheight;
        maxVerticalAlign = 2.*\staffheight;     
+       switcherName = "Voice";
+       acceptorName = "Thread";
+       staffContextName = "Staff";
 
        \accepts "AutoSwitchContext";
        \accepts "Staff";
@@ -30,3 +34,5 @@
 }
 
 }}
+
+\version "1.0.21";