Como posso fazer recuos e depois alinhar em diferentes níveis, em uma tabela?

Como posso fazer recuos e depois alinhar em diferentes níveis, em uma tabela?

Como faço para criar esta tabela? São os recortes sutis que estão me confundindo. Eu sei que estou perdendo algo simples.

exemplo de tabela

Responder1

Você poderia usar um tabbingambiente. Por exemplo:

\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}

exemplo de tabulação

  • \=marca uma parada de tabulação
  • \>vá para a próxima parada de tabulação
  • \\termina uma linha
  • \killtermina uma linha, mas não a imprime, útil para uma linha de modelo de parada de tabulação

Responder2

Você poderia usar algum espaço definido para recuar dentro da tabela. Considere o exemplo abaixo:

\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}

Este código renderiza o seguinte:

Implementação da tabela proposta do OP.

Editar:Código editado e imagem de saída para maior clareza.

informação relacionada