\makebox

Normal use

\makebox[width][position]{text}

The \makebox command creates a box to contain the text specified. The width of the box is specified by the optional width argument. The text in the box is set in LR mode.

The position of the text within the box is determined by the optional position argument, as follows:

The default horizontal and vertical positioning is to center text in the box.

See also: Spaces and Boxes,

In picture environment

\makebox(width,height)[position]{ ... }

The \makebox command for the picture environment is similar to the normal \makebox command except that you must specify a width and height in multiples of \unitlength.

The optional argument, [position], specifies the quadrant that your text appears in. You may select up to two of the following:

The default horizontal and vertical positioning is to center text in the box.

See also: Environments, picture


Return to LaTeX Table of Contents
Revised by Sheldon Green, agxsg@giss.nasa.gov, 10 May 1995.