我没能按预期完成这项工作:
\begin{frame}{\textarabic{\emph{دیکشنری}}}
\centering
\begin{tikzpicture}[approach/.style={draw,very thick, text width=8em,
text centered, minimum height=2.5em,rounded corners=3ex},
idea/.style={draw, very thick, circle,text width=3em,
text centered, minimum height=2.5em},
connections/.style={<->,draw=black!30,line width=3pt,shorten <=5pt,shorten >=5pt},
]
% Draw diagram elements
\node (idea) [idea,draw=blue,fill=blue!20] {\textarabic{\textbf{دیکشنری مناسب}}};
\pause
\node (verbal) [approach,above=of idea] {\textarabic{\textbf{استخراج ویژگیهای برجستهی کلاسی از دادهها}}};
\node (formular)[approach,below=of idea] {\textarabic{\textbf{تنک کننده}}};
% Draw arrows between elements
\draw[connections] (idea) -- (formular) ;
\draw[connections] (idea) -- (verbal);
\draw[connections] (verbal.west) to[out=80,in=60](formular.west) ;
\draw[connections] (verbal.east) to[out=80,in=60](formular.east) ;
\end{tikzpicture}
\end{frame}
我希望箭头看起来像这样(不是红色,而是相同的灰色)并且整个箭头对齐中心:
我也希望这三种形状逐一出现,但我真的不知道如何使用pause
或这里的任何其他功能。
答案1
主题:仅提供您的代码片段,对于愿意帮助您的人来说没有什么帮助。
就你的情况而言,你在几何方面有问题。根据你的喜好,你对角度的定义是错误的out
......in
\documentclass{beamer}
\usepackage{tikz}
\usetikzlibrary{positioning}
\begin{document}
\begin{frame}{arabic text}
\centering
\begin{tikzpicture}[
approach/.style = {draw,very thick, text width=8em,
text centered, minimum height=2.5em,rounded corners=3ex},
idea/.style = {draw, very thick, circle,text width=3em,
text centered, minimum height=2.5em},
connections/.style = {<->,draw=black!30,line width=3pt,
shorten <=5pt,shorten >=5pt},
]
% Draw diagram elements
\node (idea) [idea,draw=blue,fill=blue!20] {arabic text};
\pause
\node (verbal) [approach,above=of idea] {more arabic text};
\node (formular)[approach,below=of idea] {more arabic text};
% Draw arrows between elements
\draw[connections] (idea) -- (formular) ;
\draw[connections] (idea) -- (verbal);
\draw[connections] (verbal.west) to[out=210,in=150](formular.west);% changed angles
\draw[connections] (verbal.east) to[out=330,in=30](formular.east) ;% changed angles
\end{tikzpicture}
\end{frame}
\end{document}