Hello,
I use this settings to underline definitions and it works fine.
Maybe you can try to change the 0.25 and 0.75 values to 0.5.
One the the value is for the box color and the other is for the
background (I don't remember which one).
You can also change the definition of the color (I haven't tried):
\definecolor{TheColorName}{rgb}{RedValue, GreenValue, BlueValue}
with RedValue, GreenValue and BlueValue values between 0.0 and 1.0
I don't know what are the values for a gray color.
YC
> Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
> X-No-Archive: yes
> List-Post: <mailto:[EMAIL PROTECTED]>
> List-Help: <mailto:[EMAIL PROTECTED]>
> List-Unsubscribe:
<mailto:[EMAIL PROTECTED]>
> Delivered-To: mailing list [EMAIL PROTECTED]
> X-Originating-IP: [203.109.252.25]
> From: "John O'Gorman" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: shadow colour box
> Date: Wed, 14 Feb 2001 20:33:35
> Mime-Version: 1.0
> X-OriginalArrivalTime: 14 Feb 2001 20:33:35.0797 (UTC)
FILETIME=[67A51650:01C096C5]
>
> I tried Yann Collet(t)e's suggestion for making a shadow
> box.
> which was:
> in the preamble -
> \usepackage{color, calc}
> \definecolor{gris}{gray}{0.25}
> \definecolor{contourgris}{gray}{0.75}
>
> and in the document, I surrounded a paragraph with red TeX
> \fcolorbox{contourgris}{gris}{\parbox{\textwidth - \parindent - \parindent}{
>
> % paragraph content in here
>
> }}
>
> This did, in fact produce a shaded box as I had hoped but black
> on black (or nearly so). View DVI displayed it as absolutely black.
> When printed on an HP Laserjet M5 (not a colour printer) I could
> barely discern the paragraph contents.
>
> Fiddling with the numbers in the preamble seemed ineffective. Have I
> missed some vital ingredient?
>
> John O'Gorman
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>