I would like to put color to a paragraph containing equations and
verbatim. Something like this
\colorbox{blue}{
\begin{minipage}{\textwidth}
\begin{verbatim}
(%i15) limit(exp(1/x), x, 0, plus);
\end{verbatim}
$$\infty \leqno{\tt (\%o15) }$$
\end{minipage}
}
but it doesn't work. Can anybody help me?
Tanks in advance
Use an lrbox:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=verbwithin
--
Ulrike Fischer
\begin{document}
\begin{lstlisting}[language={}]
(%i15) limit(exp(1/x), x, 0, plus);
\end{lstlisting}
\end{document}
%---------------------------
...Rolf