Dienstag, 14. Januar 2014

latex tables with package booktabs

Latex tables

To use the latex booktabs package simply include:
\usepackage{booktabs}
in the header.

After this you can make a nice table via:
\begin{table}[h!]
  \begin{tabular}{ l l l}
    \toprule
    First & Second  & Third \\
    \midrule
    1 & 2 & 3 \\
    1 & 2 & 3 \\
    1 & 2 & 3 \\
    1 & 2 & 3 \\
    1 & 2 & 3 \\
    \bottomrule
  \end{tabular}
\end{table}



for further tips read the booktabs manual.

Keine Kommentare:

Kommentar veröffentlichen