I've got a very simple table with two collumns.
One has a compound name in the next has a picture of it:
I would like the first collumn middle aligned and centered.
Code: Select all
Code, edit and compile here:
\documentclass[a4paper,oneside,11pt,titlepage]{book}\usepackage{array} % for m{} in tables\usepackage[margin=10pt,font=small,labelfont=bf, justification=centering]{caption}\begin{document}\chapter{one}\section{one}\begin{table}\centering\begin{tabular}{|m{4cm}|c|}\hlineCompound & Structure \\\hlineName & \includegraphics[width = 6cm]{Picture.png} \\\hline\end{tabular}\caption{.}\label{Table:Two_Letter_Code}\end{table}\end{document}
The column on the left is bottle left aligned and not middle center as intended, its probably something to do with including the graphics.