Skip to main content

booktabs

Professional table rules (\toprule, \midrule, \bottomrule) for clean, readable tables.

Rendered LaTeX output
\begin{figure}
\caption{Simple Table}
\label{tab:simple}
\centering
\begin{tabular}{ll}
\toprule
Heading1 & Heading2 \\
\midrule
One & Two \\
Three & Four \\
\bottomrule
\end{tabular}
\end{figure}
Rendered LaTeX output
% Adapted from https://tex.stackexchange.com/a/468994/9075
\begin{figure}
\caption{Table with diagonal line}
\label{tab:diag}
\begin{center}
\begin{tabular}{|l|c|c|}
\hline
\diagbox{Row}{Column} & A & B \\
\hline
1 & x & y \\
\hline
\end{tabular}
\end{center}
\end{figure}