nice text frame

Added by red sea over 9 years ago

in the head add this packege:

\usepackage{tikz}
\usetikzlibrary{shadows}

then add the frame :

\begin{center}

\begin{tikzpicture}

\definecolor{monred}{rgb}{0.79 0.0 0.1}

\tikzstyle{rec} = [rectangle,rounded corners,ultra thick,draw=monred!90,fill=white] 

\node[rec,text=black!80,inner sep=3mm,drop shadow] (th)
    {\parbox{0.6\textwidth}{
text or table here
    }};

\node[rec,text=monred!95,anchor=south west,xshift=3mm,yshift=-1mm] 
    at (th.north west) {\small title here};

\end{tikzpicture}

\end{center}