I have tables in which, certain cells have pictures (say, created using pgf/tikz, but I suppose this would also apply to \includegraphics commands). Unfortunately, it seems I can't get the vertical alignment to work out. For example, in the following:
Code: Select all
\begin{tabular}{cc}
column 1 & column 2 \\ \hline
See how this is not vertically centered? &
\begin{tikzpicture}
\draw (0,0) rectangle (5cm, 1cm);
\draw[] (2cm,0.5cm) node {Neither is this rectangle};
\end{tikzpicture}
\\ \hline
Moo & Boo
\end{tabular}
We have a 2x2 table with a figure in the (1,2) cell. Unfortunately, everything in the first row (text and picture) are bottom-aligned. How do you fix that?