I have a tikz node that looks like this:
It was generated using the following code:
\documentclass[a4paper,10pt]{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\node[align=center]{%
Tableau 0\\
\smallskip
\begin{tabular}{ll}TEXT\\TEXT\end{tabular}
};%
\end{tikzpicture}
\end{document}
You can see that the \smallskip
was ignored. I suspect the problem was that TeX was not in the right mode — vertical mode?
I thought I would get around the problem by wrapping the 'Tableau 0' and \\smallskip
in a vertical-mode box. But unfortunately, it looks like all of those boxes require you to specify their width (cf. What are the different kinds of boxes in (La)TeX? ), and I would need something that stretches to the width of its content.
What's the easiest way to insert the whitespace here?
Best Answer
Instead of
Tableau 0\\ \smallskip
, useTableau 0\\[1cm]
, or whatever distance you want.