
Quero uma seta entre as duas figuras, sei que posso fazer isso usando o Tikz, mas como posso definir as coordenadas dos pontos médios entre as figuras.
\documentclass{beamer}
\usepackage{tikz}
\begin{document}
\begin{frame}{Advantages Vs. a Word processor}
\underline{How dose it look like?} \\ \vspace{1em}
\begin{columns}[T,onlytextwidth]
\begin{column}{.4\textwidth}
{\tikz\node[coordinate](start1){};}
\includegraphics[scale=0.17]{Lat001.png}
\end{column}
\documentclass{beamer}
\begin{column}{.4\textwidth}
{\tikz\node[coordinate](end1){};}
\includegraphics[width=15cm,
height=5cm,
keepaspectratio]{Lat002.png}
\end{column}
\end{columns}
% \begin{tikzpicture}[overlay, remember picture, -latex, color=blue!15!red,
% yshift=1ex, shorten >=1pt, shorten <=1pt, line width=0.1cm]
% \path[->] (start1) edge [out=150, in=240] (end1);
%\end{tikzpicture}
\end{frame}
\end{document}
Responder1
Claro que depende do que você quer colocar nesse slide mas eu não usaria columns
ambiente para as imagens. Em vez disso, colocaria as duas imagens dentro de um único tizpicture
ambiente. Fazendo desta forma é fácil desenhar uma seta entre eles:
\begin{tikzpicture}
\node (start1) at (0,0) {\includegraphics[scale=0.17]{example-image-a}};
\node (end1) at (10,0) {
\includegraphics[width=15cm, height=5cm,
keepaspectratio=0.17]{example-image-b}
};
\draw[thick, ->](start1.east)--(end1.west);
\end{tikzpicture}
Se você realmente precisa colocar as imagens dentro de um columns
ambiente, você pode usarMarca TikZ:
\begin{columns}[T,onlytextwidth]
\begin{column}{.4\textwidth}
\tikzmarknode{start2}{
\includegraphics[scale=0.17]{example-image-a}
}
\end{column}
\begin{column}{.4\textwidth}
\tikzmarknode{end2}{
\includegraphics[width=15cm, height=5cm,
keepaspectratio=0.17]{example-image-b}
}
\tikz[remember picture,overlay]{
\draw[thick, ->](start2.east)--(end2.west);
}
\end{column}
\end{columns}
Essas duas abordagens levam ao seguinte:
Claro, você precisará ajustar o posicionamento e o tamanho da imagem usando suas imagens reais. Aqui usei imagens de exemplo doeupacote. Aqui está o código completo:
\documentclass{beamer}
\usepackage{tikz}
\usepackage{mwe}
\usetikzlibrary{tikzmark}
\begin{document}
\begin{frame}{Advantages Vs. a Word processor}
\underline{How does it look like?} \\ \vspace{1em}
\begin{tikzpicture}
\node (start1) at (0,0) {
\includegraphics[scale=0.17]{example-image-a}
};
\node (end1) at (10,0) {
\includegraphics[width=15cm, height=5cm,
keepaspectratio=0.17]{example-image-b}
};
\draw[thick, ->](start1.east)--(end1.west);
\end{tikzpicture}
\end{frame}
\begin{frame}[fragile]{Advantages Vs. a Word processor}
\underline{How does it look like?} \\ \vspace{1em}
\begin{columns}[T,onlytextwidth]
\begin{column}{.4\textwidth}
\tikzmarknode{start2}{
\includegraphics[scale=0.17]{example-image-a}
}
\end{column}
\begin{column}{.4\textwidth}
\tikzmarknode{end2}{
\includegraphics[width=15cm, height=5cm,
keepaspectratio=0.17]{example-image-b}
}
\tikz[remember picture,overlay]{
\draw[thick, ->](start2.east)--(end2.west);
}
\end{column}
\end{columns}
\end{frame}
\end{document}