I'm having a problem with vertical alignment of cells in a somewhat complicated case. Does anyone know how to have a different vertical alignment for two cells in the same column? And also if you use the "p" alignment on some columns, it affects the alignment of other columns in the table that are set to "m". Below is the example:
In latex (Table A):
\documentclass{revtex4-1}
\usepackage{array}
\begin{document}
\begin{table*}
\begin{ruledtabular}
\begin{tabular}{ >{\centering}m{0.8 in} >{\centering}m{0.8in}
>{\centering}m{0.8in} >{\centering}m{0.8in}
>{\centering}m{1.5in} >{\centering\arraybackslash}m{1.5in} }
\bfseries Heading 1 & \bfseries Heading 2 & \bfseries Heading 3 & \bfseries Heading 4 & \bfseries Heading Heading Heading 5 & \bfseries Heading Heading Heading 6 \\
\hline
text & text & text & text &
\begin{itemize}
\item texttexttexttexttex texttexttexttexttexttexttexttext \end{itemize} &
\begin{itemize}
\item texttext texttext texttext texttext
\item texttext texttext texttext texttext\end{itemize} \\
\end{tabular}
\end{ruledtabular}
\end{table*}
\end{document}
In latex (Table B):
\documentclass{revtex4-1}
\usepackage{array}
\begin{document}
\begin{table*}
\begin{ruledtabular}
\begin{tabular}{ >{\centering}m{0.8 in} >{\centering}m{0.8in}
>{\centering}m{0.8in} >{\centering}m{0.8in}
>{\centering}p{1.5in} >{\centering\arraybackslash}p{1.5in} }
\bfseries Heading 1 & \bfseries Heading 2 & \bfseries Heading 3 & \bfseries Heading 4 & \bfseries Heading Heading Heading 5 & \bfseries Heading Heading Heading 6 \\
\hline
text & text & text & text &
\begin{itemize}
\item texttexttexttexttex texttexttexttexttexttexttexttext \end{itemize} &
\begin{itemize}
\item texttext texttext texttext texttext
\item texttext texttext texttext texttext\end{itemize} \\
\end{tabular}
\end{ruledtabular}
\end{table*}
\end{document}
Best Answer
You can use nested tabular to control the alignment and
enumitem
to use a list with less vertical space: