[Tex/LaTex] Vertically center text in a specific cell

tablesvertical alignment

I want to vertically center the "Characteristic" heading in its respective cell?

enter image description here

\documentclass[a4paper,12pt]{article}

\usepackage{booktabs} %for top, middle and bottomline
\usepackage{multirow} %multi column and row spanning
\usepackage{multicol}
\usepackage{graphicx}

\begin{document}

\begin{multicols}{2}

\subsection*{Results}


\resizebox{\columnwidth}{!}{%
\begin{tabular}{@{} l c c @{}}
\toprule
Characteristic & \multicolumn{2}{c}{Result}\\
 \cmidrule{2-3}
 & Seaweed isolate & Coral isolate \\
 \midrule
Cell shape & Rod & Rod\\
Gram stain & $-$ & $-$\\
Oxidase & $+$ & $-$\\
Catalase & $+$ & $-$\\
MSA & Growth & No growth\\
Anaerobic & Growth (weak) & No growth\\
Motility & & \\
Indole production & & \\
Hugh \& Leifsons & & \\
\bottomrule
\end{tabular}
}


\end{multicols}

\end{document}

Best Answer

You can do it manually, using \raisebox, or you can use the \multirow command from the homonymous package (although, as egreg has mentioned in a comment, it's better not to shift the heading):

\documentclass[a4paper,12pt]{article}
\usepackage{booktabs} %for top, middle and bottomline
\usepackage{multirow} %multi column and row spanning
\usepackage{graphicx}
\usepackage{multicol}

\begin{document}

\begin{multicols}{2}

\subsection*{Results}

\resizebox{\columnwidth}{!}{%
\begin{tabular}{@{} l c c @{}}
\toprule
\multirow{2}{*}{Characteristic} & \multicolumn{2}{c}{Result}\\
 \cmidrule{2-3}
 & Seaweed isolate & Coral isolate \\
 \midrule
Cell shape & Rod & Rod\\
Gram stain & $-$ & $-$\\
Oxidase & $+$ & $-$\\
Catalase & $+$ & $-$\\
MSA & Growth & No growth\\
Anaerobic & Growth (weak) & No growth\\
Motility & & \\
Indole production & & \\
Hugh \& Leifsons & & \\
\bottomrule
\end{tabular}
}


\end{multicols}

\end{document}