summaryrefslogtreecommitdiff
path: root/macros/plain/contrib/misc/boxit.tex
blob: 57956219c147862a95463c87941d72ff1d8a8799 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
%
% BOXIT
%
% Use \boxit{ text } to surround text / paragraphs / anything in a
%         box. For example, typing \boxit{the} would produce
%                            +---+
%                            |the|
%                            +---+
%         (you may want to use \strut inside the argument if the
%         boxit is on a line by itself).
%
\def\boxit#1{\leavevmode\hbox{\vrule\vtop{\vbox{\kern.33333pt\hrule
    \kern1pt\hbox{\kern1pt\vbox{#1}\kern1pt}}\kern1pt\hrule}\vrule}}