Next: \framebox (picture), Previous: \vector, Up: picture [Contents][Index]
\makebox (picture)Synopsis:
\makebox(rec-width,rec-height){text}
\makebox(rec-width,rec-height)[position]{text}
Make a box to hold text. This command fits with the
picture environment, although you can use it outside of there,
because rec-width and rec-height are numbers specifying
distances in terms of the \unitlength (see picture). This
command is similar to the normal \makebox command (see \mbox & \makebox) except here that you must specify the width and height. This
command is fragile (see \protect).
This makes a box of length 3.5 times \unitlength and height 4
times \unitlength.
\put(1,2){\makebox(3.5,4){...}}
The optional argument position specifies where in the box
the text appears. The default is to center it, both horizontally
and vertically. To place it somewhere else, use a string with one or
two of these letters.
tPuts text the top of the box.
bPut text at the bottom.
lPut text on the left.
rPut text on the right.