Search found 1 match

by andysmith87
Fri Mar 04, 2011 7:45 am
Forum: Page Layout
Topic: Variable size box with background colour
Replies: 1
Views: 1417

Variable size box with background colour

I've searched a few forums to determine code that will make an environment that will make the background of the encapsulated content a specific colour. This is what I have:

\definecolor{MyGray}{rgb}{0.9,0.9,0.9}
\makeatletter\newenvironment{graybox}{%
\paragraph{}\begin{lrbox}{\@tempboxa}\begin ...