Example: Timeline

Published 2015-09-27 | Author: Stefan Kottwitz

Using basic TikZ function it’s not too hard to create a line, add some ticks and date values and annotations.

This example shows another colorful predesigned way using the timeline library.

Until the timelime library becomes official part of TikZ or becomes available on CTAN, you can download the file tikzlibrarytimeline.code.tex from the authors repository https://github.com/cfiandra/timeline. You can install it in the TeX tree like any other package, but the easiest way is simply putting it into the same folder as your main TeX document.

Full explanation in Chapter 9, Creating Graphics: Generating a timeline.

Download as: [PDF] [TEX]  •  [Open in Overleaf]

% Timeline
% Author: Stefan Kottwitz
% https://www.packtpub.com/hardware-and-creative/latex-cookbook
\documentclass[border = 10pt]{standalone}
    \initialphase{involvement degree=3cm,phase color=blue}
    \phase{between week=1 and 2 in 0.4,
      involvement degree=5cm,phase color=green!50!black}
    \phase{between week=2 and 3 in 0.2,
      involvement degree=6cm,phase color=red!40!black}
    \phase{between week=3 and 4 in 0.5,
      involvement degree=3cm,phase color=red!90!black}
    \phase{between week=4 and 5 in 0.3,
      involvement degree=2.5cm,phase color=red!40!yellow}
  \node [xshift=-0.6cm,yshift=1cm,anchor=east,
         font=\Large\bfseries] at (phase-0.180) {Auhor};
  \node [xshift=-0.6cm,yshift=-1cm,anchor=east,
         font=\Large\bfseries] at (phase-0.180) {Publisher};
    text={Concept}, text options={above}}
     text={First draft}}
    text={Second draft}}
     text={Approval of print draft}}
     text={Concept Review}, text options={below}}
    text={First Review}}
     text={Second Review}}
     text={Approval required}}
    text={Draft for printing}}


Adding comments is currently not enabled.

There are currently 0 comments on this entry.

LaTeX Cookbook


LaTeX Beginners Guide

Limited discount 50%
coupon code tDRet6Y

Creative Commons License