Hi,
I would like to construct a drop shadow around a box. This shadow
should be fading out in a -45 degree angle. It should be the same
gray everywhere near the box and faded out from there to transparent
the farther away the shadow is located from the body of the box. How
do I achieve this? In the minimal example, I could not come up with a
solution to this.
Thanks
Marius
\documentclass{scrartcl}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[USenglish]{babel}
\usepackage{xcolor}
\usepackage{tikz}
\usetikzlibrary{shadows,fadings}
\newcommand*{\mybox}{%width, content
\begin{tikzpicture}
\node[rectangle,rounded corners,fill,inner xsep=2mm,inner
ysep=2mm,text justified,top color=black!50,bottom color=black,drop
shadow={shadow xshift=1ex,shadow yshift=-1ex,fading angle=-45}]{\color
{white}%
My box entry.
};
\end{tikzpicture}
}
\begin{document}
\mybox
\end{document}
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.
http://p.sf.net/sfu/bobj-july_______________________________________________
pgf-users mailing list
pgf-users@...
https://lists.sourceforge.net/lists/listinfo/pgf-users