I want to have a list in my saved box. Why doesn't the following work?
\documentclass{article}
\usepackage{setspace}
\newsavebox{\mybox}
\newenvironment{myenv}{%
\begin{lrbox}{\mybox}%
\begin{list}{}{}%
}{%
\end{list}%
\end{lrbox}%
\usebox{\mybox}%
}%
\begin{document}
\begin{myenv}
\item First item.
\item Second item.
\end{myenv}
\end{document}
Must I use a \minipage
?
lrbox
is the environment form of\sbox
; you can insert aminipage
inlrbox
.