我该如何创建这个表格?细微的缩进让我困惑。我知道我错过了一些简单的东西。
答案1
您可以使用tabbing
环境。例如:
\documentclass{article}
\begin{document}
\begin{tabbing}
\quad\=\quad\=One $= 0$ the other $\neq 0$\quad
\=Whole line of equilibrium points\kill
\rule{.8\linewidth}{1pt}\\
Eigenvalues\>\>\>Stability\\[-1.2ex]
\rule{.8\linewidth}{1pt}\\
REAL\\
\>Unequal\\
\>\>Both $>0$\>Unstable node (source, repeller)\\
\>\>Both $<0$\>Stable node (sink, attractor)\\
\>\>Different signs\>Saddle point\\
\>\>One $= 0$ the other $\neq 0$\>Whole line of equilibrium points\\
\>Equal\\
\>\>Both $>0$\>Unstable node (source, repeller)\\
\>\>Both $<0$\>Stable node (sink, attractor)\\
\>\>Both $=0$\>Algebraic unstable\\
COMPLEX\\
\end{tabbing}
\end{document}
\=
标记制表位\>
转到下一个制表位\\
结束一行\kill
结束一行但不打印它,适用于制表位模型行
答案2
您可以使用一些定义的空间来缩进表格。请考虑以下示例:
\documentclass{article}
\usepackage{booktabs}
\begin{document}
\begin{tabular}{@{} l l @{}}
\toprule
Eigenvalues & Stability\\
\midrule
REAL\\
\hspace{0.25cm} Unequal\\
\hspace{0.5cm} Both $>0$ & Unstable node (source, repeller)\\
\hspace{0.5cm} Both $<0$ & Stable node (sink, attractor)\\
\hspace{0.5cm} Different signs & Saddle point\\
\hspace{0.5cm} $= 0$ the other $\neq 0$ & Whole line of equilibrium points\\
...\\
\bottomrule
\end{tabular}
\end{document}
此代码呈现以下内容:
编辑:编辑代码和输出图像以提高清晰度。