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

\savebox

\sbox{cmd}{text}
\savebox{cmd}[width][pos]{text}

These commands typeset text in a box just as for \mbox or \makebox. However, instead of printing the resulting box, they save it in the LaTeX command cmd, which must have been declared with \newsavebox. The saved text is accessed by a \usebox command.

The \sbox and \savebox commands are declarations with the usual rules for scope.

The \sbox command is robust; the \savebox command is fragile.


See Spaces and Boxes
See \newsavebox, \usebox
Back to the Table of Contents


Revised 15 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