I want one column to be as small as possible, with no inter column spacing, so that it's just enough to fit the text. I know the answer to this question: I need to use @{}c@{}.
I also want to be able to have a linebreak wherever I want in my cell. I also know the answer to this question: I need to use a tabular within my tabular.
The problem is that I can't manage to make these two solutions work together: when I try to have 2 lines within a cell, the column gets expanded beyond the size of the text.
Here is such an example:
Code: Select all
\begin{small}
\begin{tabular}{|@{}c@{}|}
A\\B\\C\\
\end{tabular}
\end{small}
Code: Select all
\begin{tabular}{|@{}c@{}|}
\begin{small}
\begin{tabular}{@{}c@{}}
A\\B\\C\\
\end{tabular}
\end{small}
\end{tabular}