Tables

The code for tables can be quite tricky but you should use anyway the package ctable which let you also include noted directly in the table. So, load the package with \usepackage{ctable} in your preamble.

A table can be typeset with the following code:

\ctable{ccc}{}{
\FL
& Male & Female \ML
First year & 37 & 42 \NN
Second year & 16 & 21 \LL
}

Try to put the code in your document (remember to load the table package if you didn’t) and typeset the document. If you want to learn more about tables in LaTeX and about ctable go to http://en.wikibooks.org/wiki/LaTeX/Tables and search for the ctable documentation online.

Leave a Reply