Staffs can be nested in various combinations. Here, StaffGroup and ChoirStaff produce similar straight brackets, whereas GrandStaff produces curly brackets. In InnerStaffGroup and InnerChoirStaff, the brackets are shifted leftwards.
StaffGroup
ChoirStaff
GrandStaff
InnerStaffGroup
InnerChoirStaff