@group: Prevent Page Breaks ¶
@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
This command has an effect in TeX output only.
@end group commands need to be inside the
@end example commands, thus:
@example @group ... @end group @end example
@group would make sense conceptually in a wide
variety of contexts, its current implementation works only
@example and variants, and within
See Quotations and Examples. (What all these commands have in
common is that each line of input produces a line of output.)