I am trying to put together a table with both images and text, but I keep having problems to get the vertical alignment right. Ideally I would like to have both the text and images in the centre of the cells.
My original code is:
\begin{table}[t]
\begin{center}
\begin{tabular}{| c | c | c | c | c |}
\hline
\textbf{Approach} & \textbf{Pure translation} & \textbf{120\degree bend} & \textbf{135\degree twist} & \textbf{70\degree bend} \\
\hline
Original & \includegraphics[scale=0.1] {figure1.jpg} & \includegraphics[scale=0.1] {figure1.jpg} & & \\
\hline
\end{tabular}
\end{center}
\caption{Hello}
\end{table}
Which gives me this result:
I have tried using \raisebox like this:
\begin{table}[t]
\begin{center}
\begin{tabular}{| c | c | c | c | c |}
\hline
\textbf{Approach} & \textbf{Pure translation} & \textbf{120\degree bend} & \textbf{135\degree twist} & \textbf{70\degree bend} \\
\hline
Original & \raisebox{-\totalheight}{\includegraphics[scale=0.1] {figure1.jpg}} & \raisebox{-\totalheight}{\includegraphics[scale=0.1] {figure2.jpg}} & & \\
\hline
\end{tabular}
\end{center}
\caption{Hello}
\end{table}
But the result is still not satisfactory:
Using a \parbox
for the text column doesn't do the trick either...