# [texhax] colorbox question

Mel Janowitz melj at dimax.rutgers.edu
Tue Nov 18 17:55:48 CET 2008

Hello:

I am using colorbox in conjunction with a fancyvrb environment. I am
trying to control the width of the box. The default is the length of the
longest line placed in the box, but I want it to be uniform without
putting in dummy long lines. Here is a sketch of my code:

\begin{SaveVerbatim}{myv}
text statements
\end{SaveVerbatim}

\colorbox{ltgrey} {\BUseVerbatim {myv} }

Thanks,

Mel Janowitz

*************************************************************************
Melvin F Janowitz     Fax: 732-445-5932
428 CoRE Building     Phone: 732-445-0074
DIMACS                email: melj at dimax.rutgers.edu
Rutgers, The State University