I'm trying to typeset some multiline TikZ
nodes inside a tabular
environment. Somehow, the space between lines gets considerably shortened.
Here's my code:
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\node [align=center] {
\underline{$(\alpha \land \beta)$}\\
$\alpha$\\
$\beta$
};
\end{tikzpicture}
\begin{tabular}{c}
\begin{tikzpicture}
\node [align=center] {
\underline{$(\alpha \land \beta)$}\\
$\alpha$\\
$\beta$
};
\end{tikzpicture}
\end{tabular}
\end{document}
Can someone explain what is happening and how can I prevent it?
\strut
to every line..tex
documents rather than just snippets. Otherwise I have to type out\documentclass{article}
,\end{document}
etc., and work out which packages you've used, all before I can reproduce your situation on my machine and start thinking about a situation.\strut
to the first or to the last cell in the row?