2

I'm doing a beamer presentation and I have two columns with items, and I would like to draw an arrow conecting two items in the different columns. I'm not familiar with Tikz, son I having some problems. How can I do it ?

A minimal preamble here:

\documentclass{beamer}
\usetheme{Darmstadt}

\usepackage{multicol}

\begin{document}

\begin{frame}

\begin{columns}

\column{.5\textwidth}

\begin{itemize}
    \item element A
    \item element B
    \item element C
    \item element D
    \item element E
\end{itemize}

\column{.5\textwidth}

\begin{itemize}
     \item element F
     \item element G
\end{itemize}

\end{columns}

\end{frame}

\end{document}

I would like to draw an arrow between elements B and F.

Thank you in advance!!

4

like this?

enter image description here

by use of tikzmark library :

\documentclass{beamer}
\usetheme{Darmstadt}

\usepackage{tikz}
\usetikzlibrary{arrows.meta, calc, quotes, tikzmark}

\begin{document}
\begin{frame}
\begin{columns}
\tikzset{box/.style={inner xsep=0pt}}

\column{.5\textwidth}
\begin{itemize}
    \item element A
    \item element B\tikzmark{b}
    \item element C
    \item element D
    \item element E
\end{itemize}

\column{.5\textwidth}
\begin{itemize}
     \item \tikzmark{f}element F
     \item element G
\end{itemize}
\end{columns}

    \begin{tikzpicture}[overlay,remember picture]
    \draw[very thick, -Stealth]         ($({pic cs:b})+(1ex,1ex)$)
        to [bend left, sloped, "text"]  ($({pic cs:f})+(1ex,+1em)$);
    \end{tikzpicture}

\end{frame}
\end{document}
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.