Wednesday, June 15, 2011

Timeline on Latex

One of nicer looking timeline graphs for Latex is by using the chronology package

This is the example:
\usepackage{chronology}
...
\begin{chronology}[5]{1983}{2010}{3ex}{\textwidth}
\event{1984}{one}
\event[1985]{1986}{two}
\event{\decimaldate{25}{12}{2001}}{three}
\end{chronology}


source.

Installing new package in Latex

If you are using linux, the TeX Live is installed on:

/usr/share/texmf-texlive/tex/latex

To install a style file you have to create a directory for it and copy the contents there. Next you have to run the program mktexlsr as root.