Re: three part node and shadowing
- From: Kjell Magne Fauske <kjellmf@xxxxxxxxx>
- Date: Tue, 16 Sep 2008 23:20:59 -0700 (PDT)
On Sep 16, 9:14 pm, Zarko Cucej <zarko.cu...@xxxxxxxxx> wrote:
Dear all.
I like to draw by Tikz three part node (see below) with different colour
for each part and common shadow in right/down direction. There I have
problems with colour of shadow, it override colours of each node part.
I use recent tikz package delivered with MikTex. Please, help me!
regards, Zarko
\documentclass{beamer}
%---------------------------------------------------------------%
\usepackage{tikz,graphicx,fancybox,multido}
\usetikzlibrary{arrows,shadows,shapes,%
calc,backgrounds,automata,trees}
\begin{document}
%---------------------------------------------------------------%
\begin{frame}
\frametitle{Presentation of derivation}
%---------------------------------------------------------------%
\begin{tikzpicture}[every node/.style={%
rectangle,
%
% if this part of node parameters ore comment,
% than you see origina colours od node parts,
copy shadow={fill=red,draw=red,
shadow xshift=1mm,shadow yshift=-1mm},
%
rectangle split,rectangle split parts=3,
minimum width=62mm,text width=60mm,
draw=yellow,line width=1mm,
rectangle split part fill={gray!50,green!50,blue!50}
}]\small
\node
{The \textbf{derivative} is the limit
\[ \lim_{h\to 0}\frac{f(x+h)-f(x)}{h} \ ,\]
if this limit exists as a finite number.%
\nodepart{second}
The derivative has important applications in physics as a rate of
change and as a linear approximation.
\nodepart{third}
The derivative can be evaluated using appropriate formulas.
};
\end{tikzpicture}
\end{frame}
%---------------------------------------------------------------%
\end{document}
This looks like a bug. Please file a bug report on the PGF project
page:
http://sourceforge.net/tracker2/?func=browse&group_id=142562&atid=752792
A workaround is to use a drop shadow instead of the copy shadow.
Regards,
Kjell Magne Fauske
.
- Follow-Ups:
- Re: three part node and shadowing
- From: Zarko Cucej
- Re: three part node and shadowing
- References:
- three part node and shadowing
- From: Zarko Cucej
- three part node and shadowing
- Prev by Date: http 192.168 1.1
- Next by Date: Re: movie15, Distiller, and Motion Mountain
- Previous by thread: three part node and shadowing
- Next by thread: Re: three part node and shadowing
- Index(es):
Relevant Pages
|
Loading