arrows between blocks

1,486 views
Skip to first unread message

rolandlo

unread,
Jan 14, 2009, 8:18:37 AM1/14/09
to LaTeX beamerposter
Hi all!

I have given LaTeX beamerposter a try since it looks simple to use,
well documented and produces nice posters. Thanks to the authors for
creating it!

Now after having almost finished my first poster I have come across a
problem. I have created several blocks and I would like to add arrows
between the boxes which give the reader some cues of how to read the
poster. I tried to place these arrows in absolute coordinates in the
following way (which I put right before "\end{frame}"):

\pgfputat{\pgfxy(30,30)}{
\pgfbox[center,center]{
\begin{tikzpicture}[overlay,line width = 0.8cm, red]
\draw[<->] (-2,0) -- (2,0);
\end{tikzpicture}
}
}

The problem is that these arrows influence the position of the
footline (i.e. the footline is shifted a little upwards), which is
really not acceptable. How can I solve that problem?

Moreover it would be nice to specify the coordinates of the arrows
relative to the boxes rather than to give absolute coordinates.

Thanks in advance for your support!

Roland

Philippe Dreuw

unread,
Jan 14, 2009, 9:03:48 AM1/14/09
to beamer...@googlegroups.com
You could use the textpos package for relative positioning of the
pgfbox. But pay attention to the z-index of the neighboring boxes,
which might overdraw your arrows.

Example:
\documentclass[final,hyperref={pdfpagelabels=false}]{beamer}
...
usepackage{textpos} % free image positioning
\setlength{\TPVertModule}{1cm} % unit for vertical positioning
\setlength{\TPHorizModule}{1cm} % unit for horizontal positioning

\begin{document}
\begin{frame}{}
...
\vskip10cm
\begin{block}{Introduction}
\begin{itemize}
\item some items
\item some items
\item some items
\item some items
\end{itemize}
\begin{textblock}{4}(39,-1) % relative x,y offsets from current position
\pgfbox[center,center]{
\begin{tikzpicture}[overlay,line width = 0.8cm, red]
\draw[<->] (-2,0) -- (2,0);
\end{tikzpicture}
}
\end{textblock}
\end{block}

\end{frame}
\end{document}
--
http://www-i6.informatik.rwth-aachen.de/~dreuw/

Dipl.-Inform. Philippe Dreuw
RWTH Aachen University - Department of Computer Science - Germany
Phone: +49 (241) 80-21613

rolandlo

unread,
Jan 14, 2009, 4:19:35 PM1/14/09
to LaTeX beamerposter
Thanks a lot. That was helpful!
> --http://www-i6.informatik.rwth-aachen.de/~dreuw/
Reply all
Reply to author
Forward
0 new messages