答案1
考虑使用 tikz 链库,在这个例子中,我使用了一种样式来定义具有相同特征的每个节点、链的使用、每个节点之间的默认距离以及链的方向。我还使用了带有命令的数组环境\text{}
来制作花括号和格式化的文本。
首先,您需要创建带有文本的节点(“Since”的中间节点除外),然后连接它们,我使用的-stealth
是从第一个坐标到最后一个坐标的箭头。
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{chains}
\usepackage{amsmath}
\begin{document}
\begin{tikzpicture}[myText/.style={on chain, align=center}, start chain=going right, node distance=40mm]
\node[myText] (A) {$\left.
\begin{array}{c}
\text{Harry was born}\\ \text{in Bermuda}
\end{array} \right\}$ };
\node[myText] (B) {So presumably,};
\node[myText, xshift=-40mm] (C) {$\left\{
\begin{array}{c}
\text{Harry is a}\\ \text{British Subject}
\end{array} \right.$ };
\draw[-stealth] (A) -- (B) node [midway, yshift=-10mm] (D) {Since};
\node[myText, below=3mm of D] (E) {A man born in \\ Bermuda will \\ generally be a \\British subject\\};
\node[myText, below=3mm of E] (F) {On account of};
\node[myText, below=3mm of F] (G) {The following statues\\and other legal provisions:};
\node[myText, below=2mm of C, xshift=-20mm] (H) {Unless};
\node[myText, below=2mm of H] (I) {Both his parents were\\aliens/he has become a\\naturalised American/...};
\draw (A) -| (D);
\draw (D) -- (E);
\draw (E) -- (F);
\draw (F) -- (G);
\draw (B) |- (H);
\draw (H) -- (I);
\end{tikzpicture}
\end{document}