@group: Prevent Page Breaks ¶The @group command is used to hold an example
together on one page. Use it inside an
@example or similar construct to begin an unsplittable vertical
group, which will appear entirely on one page in the printed output.
Terminate the group by a line containing only @end group.
This command has an effect in TeX output only.
The @group and @end group commands need to be inside the
@example and @end example commands, thus:
@example @group ... @end group @end example
Although @group would make sense conceptually in a wide
variety of contexts, its current implementation works only
within @example and variants, and within @display,
@format, @flushleft and @flushright.
See Quotations and Examples. (What all these commands have in
common is that each line of input produces a line of output.)