Next: , Previous: , Up: Boxes   [Contents][Index]

### 20.6 lrbox

Synopsis:

\begin{lrbox}{box-cmd}
text
\end{lrbox}


The text inside the environment is saved in the bin box-cmd. The box-cmd must begin with a backslash. You must create this bin in advance with \newsavebox (see \newsavebox). This is the environment form of the \sbox and \savebox commands, and is equivalent to them. See \sbox & \savebox for the full information.

In this example the environment is convenient for entering the tabular.

\newsavebox{\jhbin}
\begin{lrbox}{\jhbin}
\begin{tabular}{c}
\includegraphics[height=1in]{jh.png} \\
Jim Hef{}feron
\end{tabular}
\end{lrbox}
...
\usebox{\jhbin}