combine tikz and beamer

View: New views
3 Messages — Rating Filter:   Alert me  

combine tikz and beamer

by Arne Röhrs :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

i have a problem to combine tikz and beamer.

A photo should be illustrated with some clouds. The positioning of the  
clouds works fine, but the clouds
should not appear at the same time. They should appear step by step.
It ist possible to create for every cloud a new frame, but that is not  
a good solution.
See the code below.

Knows someone a better solution?

Best regards

Arne

PS: Know someone how to change the color? I don't want this kind of  
orange. I want a darker orange. But how can I define the color?

\documentclass[12pt,%
%handout%
]{beamer}
\usepackage[T1]{fontenc}
\usepackage[applemac]{inputenc}
\usepackage{ngerman}
\usepackage{tikz}
\usetikzlibrary{arrows,snakes,shapes}
\usepackage{graphicx}
\usepackage[absolute,overlay]{textpos}
\usepackage{graphicx}
\usetheme{Singapore}

\setbeamercovered{transparent}
\setbeamertemplate{navigation symbols}[vertical]%{}
\usecolortheme[%
% named=red,
% named=blue,
% named=green,
        named=orange,
% named=gray,
% named=NavyBlue,
%  named=RoyalBlue,
%  named=MidnightBlue,
%  named=CadetBlue,
]{structure}

\begin{document}


\frame
{
\frametitle{Medien zum Einstieg}
\centering
\includegraphics[scale=.3]{wundenmann}
\begin{tikzpicture}[remember picture,overlay,
note/.style={cloud callout, cloud puffs=15, aspect=3, cloud puff  
arc=120,text=white,callout pointer segments=3}]
\node [xshift=1cm,yshift=5cm,note, callout relative pointer=
{(-1,-1)},fill=green!70!black] at (0,0) {Kommunikation};
\node [xshift=-3cm,yshift=5cm,note, callout relative pointer=
{(1,-1)},fill=blue!90!black] at (0,0) {Fachwissen};
\node [xshift=1cm,yshift=1cm,note, callout relative pointer=
{(-1,1)},fill=red!90!black] at (0,0) {Bewertung};
   \node [xshift=-3cm,yshift=1cm,note, callout relative pointer=
{(1,1)},fill=gray!90!black] at (0,0) {Bewertung};
\end{tikzpicture}

\transboxout

}


\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

Re: combine tikz and beamer

by Kjell Magne Fauske :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, Sep 6, 2009 at 2:33 PM, Arne Röhrs<webmaster@...> wrote:

> Hello,
>
> i have a problem to combine tikz and beamer.
>
> A photo should be illustrated with some clouds. The positioning of the
> clouds works fine, but the clouds
> should not appear at the same time. They should appear step by step.
> It ist possible to create for every cloud a new frame, but that is not
> a good solution.
> See the code below.
>
> Knows someone a better solution?
>
> Best regards
>
> Arne
>
> PS: Know someone how to change the color? I don't want this kind of
> orange. I want a darker orange. But how can I define the color?
>
> \documentclass[12pt,%
> %handout%
> ]{beamer}
> \usepackage[T1]{fontenc}
> \usepackage[applemac]{inputenc}
> \usepackage{ngerman}
> \usepackage{tikz}
> \usetikzlibrary{arrows,snakes,shapes}
> \usepackage{graphicx}
> \usepackage[absolute,overlay]{textpos}
> \usepackage{graphicx}
> \usetheme{Singapore}
>
> \setbeamercovered{transparent}
> \setbeamertemplate{navigation symbols}[vertical]%{}
> \usecolortheme[%
> %       named=red,
> %       named=blue,
> %       named=green,
>        named=orange,
> %       named=gray,
> %       named=NavyBlue,
> %  named=RoyalBlue,
> %  named=MidnightBlue,
> %  named=CadetBlue,
> ]{structure}
>
> \begin{document}
>
>
> \frame
> {
> \frametitle{Medien zum Einstieg}
> \centering
> \includegraphics[scale=.3]{wundenmann}
> \begin{tikzpicture}[remember picture,overlay,
> note/.style={cloud callout, cloud puffs=15, aspect=3, cloud puff
> arc=120,text=white,callout pointer segments=3}]
> \node [xshift=1cm,yshift=5cm,note, callout relative pointer=
> {(-1,-1)},fill=green!70!black] at (0,0) {Kommunikation};
> \node [xshift=-3cm,yshift=5cm,note, callout relative pointer=
> {(1,-1)},fill=blue!90!black] at (0,0) {Fachwissen};
> \node [xshift=1cm,yshift=1cm,note, callout relative pointer=
> {(-1,1)},fill=red!90!black] at (0,0) {Bewertung};
>   \node [xshift=-3cm,yshift=1cm,note, callout relative pointer=
> {(1,1)},fill=gray!90!black] at (0,0) {Bewertung};
> \end{tikzpicture}
>
> \transboxout
>
> }
>
>
> \end{document}

Have you tried using Beamer overlays? Something like this maybe:
...
\node<1-> [xshift=1cm,yshift=5cm,note, callout relative pointer=
{(-1,-1)},fill=green!70!black] at (0,0) {Kommunikation};
\node<2-> [xshift=-3cm,yshift=5cm,note, callout relative pointer=
{(1,-1)},fill=blue!90!black] at (0,0) {Fachwissen};
\node<3-> [xshift=1cm,yshift=1cm,note, callout relative pointer=
{(-1,1)},fill=red!90!black] at (0,0) {Bewertung};
  \node<4-> [xshift=-3cm,yshift=1cm,note, callout relative pointer=
{(1,1)},fill=gray!90!black] at (0,0) {Bewertung};
...

More examples here: http://www.texample.net/tikz/examples/tag/beamer/

- Kjell Magne Fauske

------------------------------------------------------------------------------
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

Re: combine tikz and beamer

by Hans Meine-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Monday 07 September 2009 20:16:02 Kjell Magne Fauske wrote:
> Have you tried using Beamer overlays?

Exactly my thought.  (You can use nearly all of Beamers' overlay facilities in
a tikzpicture.)

> Something like this maybe:
> ...
> \node<1-> [xshift=1cm,yshift=5cm,note, callout relative pointer=
> {(-1,-1)},fill=green!70!black] at (0,0) {Kommunikation};
> \node<2-> [xshift=-3cm,yshift=5cm,note, callout relative pointer=
> {(1,-1)},fill=blue!90!black] at (0,0) {Fachwissen};

I prefer \node<+->, which makes it easier to reorder the bubbles.

HTH,
  Hans

------------------------------------------------------------------------------
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