我想垂直对齐两个节点中的文本。我目前的实现如下:
\begin{figure}
\centering
\begin{tikzpicture}
\node[anchor=west] at (0,0) {depot};
\node[anchor=west] at (2,0) {satellite};
\end{tikzpicture}
\end{figure}
Run Code Online (Sandbox Code Playgroud)
这会返回下图
正如您所看到的,单词在垂直方向上没有很好地对齐。这是由 depot 中的“p”引起的。我应该向 \node 添加什么参数以使它们垂直对齐?
latex ×1