# Arrow between two itemizes in two columns in beamer

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}

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

• – samcarter_is_at_topanswers.xyz Sep 9 '17 at 18:01
• It worked, but I'm trying to add text on the line and it does not compile. I'm using \path[draw=red,thick,->]<3-> (node_elementB) -- (node_elementF), but adding {text} produces an error. – Alberto Muñoz Sep 9 '17 at 19:04

like this?

by use of tikzmark library :

\documentclass{beamer}

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