I'm trying to center align the lists inside the cells of a table.
Till now, I have this:
Code: Select all
\documentclass[a4paper]{book}
\usepackage{array}
\usepackage{enumitem}
\begin{document}
\begin{table}[h]
\centering
\begin{tabular}{|>{\centering\arraybackslash} m{10em}|>{\centering\arraybackslash} m{8em}|>{\centering\arraybackslash} m{9em}|}
\multicolumn{1}{|c|}{A} & \multicolumn{1}{c|}{B} & \multicolumn{1}{c|}{C} \\
\begin{enumerate}
\item [A.] text
\item [D.] text
\item [E.] text
\end{enumerate}
&
\begin{enumerate}[label=\textbf{\arabic*.}]
\item text
\item text
\item text
\end{enumerate}
&
\begin{enumerate}
\item [B -] text
\item [C -] text
\item [F -] text
\end{enumerate}
\end{tabular}
\end{table}
\end{document}
Also, a general question about tables:
Is there any way to remove the space which appears under the last row of the table? It always seems like there is an extra empty row under the last text.
Thank you.