Last active
January 2, 2016 19:24
-
-
Save danmosergist/08e39da11f9508be9535 to your computer and use it in GitHub Desktop.
Latex: table with booktabs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% \usepackage{booktabs} | |
% \begin{table} | |
% \centering % alternatively to \begin{center} | |
% \caption{Caption this!} \label{tab:} | |
\begin{center} | |
\begin{tabular}{llr} | |
\toprule | |
\multicolumn{2}{c}{Item} \\ | |
\cmidrule(r){1-2} | |
Animal & Description & Price (\$) \\ | |
\midrule | |
Gnat & per gram & 13.65 \\ | |
& each & 0.01 \\ | |
Gnu & stuffed & 92.50 \\ | |
Armadillo & frozen & 8.99 \\ | |
\bottomrule | |
\end{tabular} | |
\end{center} | |
% \end{table} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment