I am trying to produce a simple (nice looking) table. The tabular environment is unable to introduce padding in cells so I have tried it with TikZ. However I can't manage to get the cells align correctly.
How can I, using a matrix of nodes (or anything else), get a 3×3 table with rounded corners and centered elements in each cell?
How do I make the following look regular?
\begin{tikzpicture}
\matrix (mat) [matrix of nodes, row sep=-\pgflinewidth, nodes={draw=black, minimum width=3cm, minimum height=1cm}]
{
\emph{I tried} & Something
& ... \\
$X$ & $X_{X_{X_X}}$
& $f : x \to y \to z \to \tau \to \omega$ \\
$X$ & ${{X^X}^X}^X$
& $f : x \to y$ \\
};
\end{tikzpicture}
Best Answer
Like this?
or this?