+@snippets
+
+The first empty staff can also be removed from the score with a
+setting in the @code{VerticalAxisGroup} property. This can be done
+globally inside the @code{\layout} block, or locally inside the
+specific staff that should be removed. In the latter case,
+you have to specify the context (@code{Staff} applies only to the
+current staff) in front of the property.
+
+The lower staff of the second staff group is not removed,
+because the setting applies only to the specific staff inside
+of which it is written.
+
+@lilypond[quote,ragged-right,verbatim,relative=2]
+\layout {
+ \context {
+ \RemoveEmptyStaffContext
+ %To use the setting globally, uncomment the following line:
+ %\override VerticalAxisGroup #'remove-first = ##t
+ }
+}
+\new StaffGroup
+ \relative c'' <<
+ \new Staff {
+ e4 f g a \break c1 }
+ \new Staff {
+ %To use the setting globally, comment this line, uncomment the line above
+ \override Staff.VerticalAxisGroup #'remove-first = ##t
+ R1 \break R1 }
+ >>
+\new StaffGroup
+ <<
+ \new Staff { e4 f g a \break c1 }
+ \new Staff { R \break R1 }
+ >>
+@end lilypond
+
+@c FIXME not yet in master
+@c lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
+@c {remove-the-first-empy-line.ly}
+
+@predefined
+
+@code{\RemoveEmptyStaffContext},
+@code{\AncientRemoveEmptyStaffContext},
+@code{\RemoveEmptyRhythmicStaffContext},
+