![在 Beamer Presentation 中创建简单流程图](https://linux22.com/image/418759/%E5%9C%A8%20Beamer%20Presentation%20%E4%B8%AD%E5%88%9B%E5%BB%BA%E7%AE%80%E5%8D%95%E6%B5%81%E7%A8%8B%E5%9B%BE.png)
答案1
使用该forest
包的另一种解决方案:
\documentclass[margin=3mm]{standalone}
\usepackage[edges]{forest}
\begin{document}
\begin{forest}
for tree = {
% nodes
inner ysep = 2pt,
align = center,
grow = south,
% tree
anchor = north,
forked edge,
l sep = 8mm,
s sep = 4mm,
fork sep = 4mm,
}% end for tree
[Physical Quantities
[Scalar Quantities\\
Some text here
[\dots]
]
[Vector Quantities\\
Some text here
[\dots]
]
]
\end{forest}
\end{document}
答案2
我认为最简单的解决办法是forest
-包裹:
\documentclass{article}
\usepackage{forest}
\useforestlibrary{edges}
\begin{document}
\begin{forest}
forked edges,
[Physical Quantities
[Scalar Quantities\\
Some text here,%
align=center, base=bottom]
[Vector Quantities\\
Some text here,%
align=center, base=bottom]]
\end{forest}
\end{document}
输出如下:
我希望这有帮助。