Wednesday, September 8, 2010

Simple Timelines in LaTeX

I spent some time finding a style of timeline that suited a business-plan. There are several packages available on CTAN, however these are often horizontal (which is highly space-inefficient), immature, or just plain broken. Ideally a slight diagonal deviation from vertical would fit my aesthetics perfectly, but the complexity factor skyrockets compared to the very simple solution based on tables that I found.

An example timeline, taken from Sordina Productions' business-plan.

The following code is quite inflexible in its handling of bullet-points, so I actually use the \foo command explicitly in my table in order to optionally allow space to be added between entries.



\documentclass{article}
\usepackage[pdftex]{graphicx}

% Work around table restrictions.
\newcommand{\foo}{\hspace{-2.3pt}$\bullet$ \hspace{5pt}}

\begin{document}

\scalebox{1.2}{
\begin{tabular}{r |@{\foo} l}

September 2010 & Domain-name registered\\
September 2010 & Landing-site built and deployed\\
September 2010 & Marketing blog deployed on Blogger\\
September 2010 & Business plan completed\\
September 2010 & Business name registered\\
September 2010 & First client retained\\
October 2010 & New-business grants applied for\\
October 2010 & One month retrospective conducted\\

\end{tabular}
}

\end{document}


No comments:

Post a Comment