答案1
节点宽度由内容根据需要确定的版本,并且箭头带有一些文本。
\documentclass{beamer}
\usetheme{Madrid}
\usepackage{tikz}
\usetikzlibrary{positioning, shapes.arrows,shadows.blur}
\begin{document}
\begin{frame}
\frametitle{Some picture}
\begin{center}
\begin{tikzpicture}[node distance=1.5em,
nodes={draw,fill=white,blur shadow},
box/.style={align=left,inner sep=1ex},
marrow/.style={single arrow,
single arrow head extend=2mm,
execute at begin node={\strut}}]
\node (A) [box] {Some text\\ more text };
\node (B) [marrow, right=of A]{text};
\node (C) [box, right=of B] {Some text\\ more text};
\end{tikzpicture}
\end{center}
\end{frame}
\end{document}
答案2
\documentclass{beamer}
\usetheme{Madrid}
\usepackage{tikz}
\usetikzlibrary{positioning, shapes.arrows}
\begin{document}
\begin{frame}[fragile]
\frametitle{my image \dots}
\begin{center}
\begin{tikzpicture}[
node distance = 3mm,
box/.style = {draw, text width=0.3*\linewidth},
arr/.style = {single arrow, draw,
single arrow head extend=2mm,
node contents={\phantom{arrow}}}
]
\node (n1) [box] {Text, text, text, text, text, text };
\node (n2) [arr, right=of n1];
\node (n1) [box, right=of n2] {Text, text, text, text, text, text};
\end{tikzpicture}
\end{center}
\end{frame}
\end{document}