幻灯片中的多张图片带有指向特定位置的线条

幻灯片中的多张图片带有指向特定位置的线条

我想将以下 PowerPoint 演示文稿中的图像创建到beamer幻灯片中

在此处输入图片描述

我的问题是,我希望每个框都通过一条线链接到特定点上的中心文本,但我不知道该怎么做。有没有环境或方法可以轻松做到这一点?

答案1

一个简单的方法是画图:

\documentclass{beamer}
\usepackage{tikz}
\usetikzlibrary{chains,positioning}

\newcommand{\firmlist}{\setlength\itemsep{0pt}}
    \begin{document}
\begin{frame}{Title}
    \centering
    \begin{tikzpicture}[
         shorten < = 1mm,
     node distance = 3mm and 0mm, %on grid,
      start chain = 1 going below,
      start chain = 2 going right,
 box/.style = {draw=blue!60!black, fill=blue!40, inner sep=1mm,
               text width=37mm, align=left, on chain=1},
type/.style = {font=\bfseries\large,
               text depth=0.5ex, text height=2ex,
               inner xsep=0mm, inner ysep=0.5mm, outer sep=0mm, on chain=2},
                        ]
\node (A) [box] {Arrival proces
            \begin{itemize}\firmlist
            \item M: Markovian
            \item D: Determistic
            \item Er: Erlang
            \item G: General
            \end{itemize}};
\node (B) [box] {Number of servers\\  $m=1,2,\dots$};
\node (C) [box] {Storage capacity\\ $>K=1,2,\dots$\\(at $K=\infty$ is omitted)};
%
\begin{scope}[every node/.style={type}]
\node (T1) [above right=0mm and 3mm of B]   {A};
\node (T2) {/};
\node (T3) {B};
\node (T4) {m};
\node (T5) {K};
\node (T6) {/};
\node (T7) {N};
\end{scope}
\node (D) [box, below right= 3mm of A.north -| T7.east]
            {Arrival proces
            \begin{itemize}\firmlist
            \item M: Markovian
            \item D: Determistic
            \item Er: Erlang
            \item G: General
            \end{itemize}};
\node (E) [box] {Number of custumers\\ $N=1,2,\dots$\\
                (for closed networks, otherwise is omitted)};
%
\draw (A) -| (T1);
\draw (B) -| (T3);
\draw (C) -| (T5);
\draw (D) -| (T3);
\draw (E) -| (T7);
    \end{tikzpicture}
\end{frame}
    \end{document}

在此处输入图片描述

相关内容