boxit – Draw a box around a text
This is pretty much the same macro that appears in the TeXbook.
Maybe you are interested in the following packages as well.
- split: Box two chunks of text side-by side
- boxit-ltx: An environment for boxing things
- ovalfbox: Boxes with frames whose corners are rounded
- knuth-letter: Knuth's example letter macros