I have a problem with a table which I am using for a publication. The code is as follows:
\begin{table}[htbp]
\centering
\captionof{table}{Summary}
% \begin{tabularx}{0.5\textwidth}{| c | X | X |}
\begin{tabularx}{0.5\textwidth}{| c |>{\centering\arraybackslash}X | >{\centering\arraybackslash}X |}
\hline
Reference & Focus & Relevance to Model \\ \hline
\rule{0pt}{4ex} [4] & \tabitem Model\newline\tabitem peformance benchmarks & Relevant \\ \hline
\rule{0pt}{4ex} [5] & \tabitem Deployment Algorithms \newline \tabitem Analysis of algorithmic efficiency & Relevant \\ \hline
\end{tabularx}
\end{table}
Now this results in the output included in the attached image. I need a center alignment for the heading row, but for the remaining rows, I would like to choose a center alignment for the first column, and a left alignment for the rest. Also, it is evident from the image that the bullets are not aligned properly. I guess this has something to do with the \tabitem
. I tried replacing it with itemize
but that just made things worse. So I would really appreciate a workaround to this problem.
\tabitem
you use.