5 Text in Boxes

Regular text is formatted into lines and paragraphs that are used to fill up the full width and height of the main page. However, there are occasions when a segment of text is to be set in a box on its own, possibly with differing line width, to be placed as a unit somewhere on the page, perhaps with a frame around it, or as two paragraphs side by side. LATEX provides several structures for doing this, described in the next section.

Footnotes and marginal notes, other methods for repackaging a piece of text to be placed as a block at a certain spot on the page, are also treated in this chapter.

5.1 Boxes

A box is a piece of text that TEX treats as a unit, like a single character. A box (along with the text within it) can be ...

Get Guide to LaTeX, Fourth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.