I am terrible at LaTeX tables. I managed to produce a table, but it looks so basic. How do I make it fancier?
Here is the table's code:
\begin{table}
\begin{tabular}{|l|l|l|l|l|}
\hline
Models & A & B & C & D \\ \hline
Model $X$ & X1 & X2 & X3 & X4 \\ \hline
Model $Y$ & Y1 & Y2 & Y3 & Y4 \\
\hline
\end{tabular}
\end{table}
Best Answer
Besides using
booktabs
, you can use eithercolortbl
orxcolor
(with the option[table]
to color the tables.Another method is somewhat automatic:
MWE:
Refer to the documentation of
xcolor
at texdoc.net for more details.