Go to Page Main Content
NASA - Goddard Institute for Space Studies
FIND IT @ NASA
NASA Homepage Goddard Institute for Space Studies

Hypertext Help with LaTeX

\mbox

\mbox{text}

The \mbox command creates a box just wide enough to hold the text in its argument. The text in the box is in LR mode which prevents it from being broken across lines.

The \makebox command is similar except that it allows you to specify a width which is not necessarily the natural width of the text and also to specify the placement within the box.

An \mbox within math mode does not use the current math font; rather it uses the typeface of the surrounding running text.

The \mbox command is robust.


See \fbox, \makebox
See also Spaces and Boxes
Return to LaTeX Table of Contents


Revised 8 Aug 1995.

+ GISS Home

tools
  • Software Tools Main Page
  • GCM Model E
  • GCM Model AOM-GR
  • GCM Model II
  • Panoply netCDF Viewer
  • G.Projector Map Maker
  • Mars24 Sunclock
USA.gov

End of Page