+@lilypondfile[verbatim,lilyquote,texidoc,doctitle]
+{use-square-bracket-at-the-start-of-a-staff-group.ly}
+
+@lilypondfile[verbatim,lilyquote,texidoc,doctitle]
+{display-bracket-with-only-one-staff-in-a-system.ly}
+
+@cindex mensurstriche layout
+@cindex renaissance music
+@cindex transcription of mensural music
+@cindex mensural music, transcription of
+
+@lilypondfile[verbatim,lilyquote,texidoc,doctitle]
+{mensurstriche-layout-bar-lines-between-the-staves.ly}
+@c FIXME: move to NR 2.8.x when sectioning is ready
+
+
+@seealso
+
+Music Glossary:
+@rglos{brace},
+@rglos{bracket},
+@rglos{grand staff}.
+
+Notation Reference:
+@ref{Instrument names}.
+
+Snippets:
+@rlsr{Staff notation}.
+
+Internals Reference:
+@rinternals{Staff},
+@rinternals{ChoirStaff},
+@rinternals{GrandStaff},
+@rinternals{PianoStaff},
+@rinternals{StaffGroup},
+@rinternals{systemStartDelimiter},
+@rinternals{SystemStartBar},
+@rinternals{SystemStartBrace},
+@rinternals{SystemStartBracket},
+@rinternals{systemStartSquare}.
+
+
+@node Deeper nested staff groups
+@unnumberedsubsubsec Deeper nested staff groups
+
+There are also two inner staff contexts named
+@code{InnerStaffGroup} and @code{InnerChoirStaffGroup} besides the
+grouping contexts mentioned in @ref{Grouping staves}. They behave
+in the same way as their simple counterparts, except that they are
+contained in another staff grouping context, thus producing one
+more bracket on top of the existing one. Note that
+@code{GrandStaff} and @code{PianoStaff} do not have any inner
+grouping contexts. They can both be inside any other staff
+context, including inner staff groups, though.
+
+Here is an example of an orchestral score using groupings and
+nesting of these groupings. Note that the instrument names are
+omitted from the source code, for instructions how to set them see
+@ref{Instrument names}.
+
+@cindex staff, nested
+@cindex staves, nested
+@cindex nesting of staves
+@cindex system start delimiters, nested
+@cindex nested staff brackets
+@cindex brackets, nesting of
+@cindex braces, nesting of
+@cindex inner staff group
+@cindex inner choir staff group
+
+@example
+\score @{
+\relative c' <<
+ \new StaffGroup %woodwinds
+ <<
+ \new Staff @{ c1 d @} %flute
+ \new InnerStaffGroup <<
+ \new Staff @{ c1 d @} %sax
+ \new Staff @{ c1 d @} %oboe
+ \new Staff @{ c1 d @} %English horn
+ >>
+ \new Staff @{ \clef bass c,1 d @} %bassoon
+ >>
+ \new StaffGroup %the brass group
+ <<
+ \new Staff @{ c'1 d @} %trumpet
+ \new Staff @{ \clef bass c,1 d @} %trombone
+ \new GrandStaff %the horns need a GrandStaff (same instrument)
+ <<
+ \new Staff @{ c'1 d @}
+ \new Staff @{ \clef bass c,1 d @}
+ >>
+ >>
+ \new ChoirStaff %for setting vocal music
+ <<
+ \new Staff @{ c'1 d @}
+ \new InnerChoirStaff <<
+ \new Staff @{ c1 d @}
+ \new Staff @{ c1 d @}
+ >>
+ \new Staff @{ c1 d @}
+ >>
+ \new PianoStaff %for the piano
+ <<
+ \new Staff @{ c1 d @}
+ \new Staff @{ \clef bass c,1 d @}
+ >>
+>> @}
+@end example
+
+@c no verbatim so instrument names are only in the music
+@lilypond[quote]
+\score {
+\relative c' <<
+ \new StaffGroup %woodwinds
+ <<
+ \new Staff { \set Staff.instrumentName = "fl" c1 d } %flute
+ \new InnerStaffGroup <<
+ \new Staff { \set Staff.instrumentName = "sax" c1 d } %sax 1
+ \new Staff { \set Staff.instrumentName = "ob" c1 d } %sax 2
+ \new Staff { \set Staff.instrumentName = "ca" c1 d }
+ >>
+ \new Staff { \set Staff.instrumentName = "bs" \clef bass c,1 d } %bassoon
+ >>
+ \new StaffGroup %the brass group
+ <<
+ \new Staff { \set Staff.instrumentName = "tr" c'1 d } %trumpet
+ \new Staff { \set Staff.instrumentName = "tb" \clef bass c,1 d } %trombone
+ \new GrandStaff %the horns need a GrandStaff (same instrument)
+ <<
+ \new Staff { \set Staff.instrumentName = "cor1" c'1 d }
+ \new Staff { \set Staff.instrumentName = "cor2" \clef bass c,1 d }
+ >>
+ >>
+ \new ChoirStaff %for setting vocal music
+ <<
+ \new Staff { \set Staff.instrumentName = "S" c'1 d }
+ \new InnerChoirStaff <<
+ \new Staff { \set Staff.instrumentName = "A1" c1 d }
+ \new Staff { \set Staff.instrumentName = "A2" c1 d }
+ >>
+ \new Staff { \set Staff.instrumentName = "T" c1 d }
+ >>
+ \new PianoStaff %for the piano
+ <<
+ \new Staff { c1 d }
+ \new Staff { \clef bass c,1 d }
+ >>
+>> }