TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to change the default color of a shadowbox to grey. How to do that with no problem of equation "style"/"management" inside the shadowbox ?

Thank you very much

share|improve this question
Please add a fully compilable minimal working example (MWE) that illustrates your problem. – canaaerus Aug 2 '12 at 12:35
up vote 5 down vote accepted

Here's one possibility defining commands \Cshadowbox and \@Cshadowbox analogously to \shadowbox and \@shadowbox as implemented in fancybox.sty; the color can be changed using ShadowColor:



    \advance\dimen@ .5\fboxrule
      \color{ShadowColor}\vrule \@height\ht\@fancybox \@depth\dp\@fancybox \@width\dimen@}}%
      \color{ShadowColor}\hrule \@width\wd\@fancybox \@height\dimen@}}}









enter image description here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.