blob: 3cd7e700ae89bba479cac416ddc0b7ca4ca8c7cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
+-----------------------------------------------------------------------------+
| drawbox |
+-----------------------------------------------------------------------------+
Abbreviation: ã|\dbã%
Parameters: ã|textã%
ã|Description:ã%
A box is a grouping of rules into a square or rectangle. You can draw a box
with the \drawbox markup. The parameter for this markup is the material to
be put inside the box. Any grouping less than a paragraph can be boxed,
including letters, sentences, figures, or tables.
ã|Example:ã%
To draw a box around an "a", you would enter:
Draw a box around \drawbox{a}
+-----------------------------------------------------------------------------+
| |
| ..... |
| Draw a box around . . |
| ..... |
| |
+-----------------------------------------------------------------------------+
ã|Example:ã%
If you want to draw an empty 1 inch square (plus the box "rule size" and
"mat size") you could enter,
\db{\vrule width 0pt height 1in
\vrule width 1in height 0pt depth 0pt}
..............
. .
. .
. .
. .
. .
. .
which prints: ..............
ã|Notes:ã%
Do not use this markup with \monospace or around \settabs or \halign.
Paragraphs cannot be boxed with \drawbox unless each one is put in a
vertical box (see \vbox). Use the \paragraphbox markup instead.
|