├── .gitignore ├── README.md ├── main.tex ├── pgfplots.tex ├── beginning.tex ├── humans.tex ├── life.tex └── hominin.tex /.gitignore: -------------------------------------------------------------------------------- 1 | *.aux 2 | *.log 3 | *.pdf 4 | *.gz 5 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # History timelines 2 | A few timelines in TikZ 3 | 4 | This is a small LaTeX project to aid me in the study of the human civilisation. 5 | Without some visual timelines, it would be very hard to place events in a intuitive logical context. 6 | -------------------------------------------------------------------------------- /main.tex: -------------------------------------------------------------------------------- 1 | \documentclass[a5paper]{article} 2 | \input{pgfplots} 3 | \pagecolor{darkgray}\color{white} 4 | 5 | \begin{document} 6 | 7 | \section*{The beginning of time} 8 | \input{beginning} 9 | 10 | \section*{Life on Earth} 11 | \input{life} 12 | 13 | \section*{Hominin} 14 | \input{hominin} 15 | 16 | \end{document} -------------------------------------------------------------------------------- /pgfplots.tex: -------------------------------------------------------------------------------- 1 | \usepackage{pgfplots}\pgfplotsset{compat=newest} 2 | \pgfplotsset{ 3 | timeline/.style={ 4 | axis x line=middle, 5 | axis y line=none, 6 | height=50pt, 7 | width=\textwidth, 8 | scale only axis, 9 | x axis line style={->}, 10 | only marks, 11 | xlabel style={below=2pt}, 12 | clip=false, 13 | xtick scale label code/.code={}, 14 | tick style={semithick}, 15 | }, 16 | } 17 | \tikzset{ 18 | text height=1.5ex, 19 | text depth=.25ex, 20 | } -------------------------------------------------------------------------------- /beginning.tex: -------------------------------------------------------------------------------- 1 | \begin{tikzpicture} 2 | \begin{axis}[ 3 | timeline, 4 | xmin=-15e9, xmax=1e9, 5 | scaled ticks=base 10:-9, xlabel=B, 6 | extra x ticks={-5e9}, extra x tick label={\(-5\)}, 7 | ] 8 | \addplot+ [mark options={fill=cyan, draw=darkgray}] coordinates { 9 | (-13.8e9,0) 10 | (-4.5e9,0) 11 | }; 12 | \node [ 13 | pin={[pin edge={cyan,thin,<-}, 14 | anchor=south west, pin distance=1ex]above: 15 | Beginning of the universe 16 | }] at (-13.8e9,0) {}; 17 | \node [ 18 | pin={[pin edge={cyan,thin,<-,shorten <=-2pt}, 19 | anchor=south, pin distance=1ex]above: 20 | Planet Earth 21 | }] at (-4.5e9,0) {}; 22 | \end{axis} 23 | \end{tikzpicture} -------------------------------------------------------------------------------- /humans.tex: -------------------------------------------------------------------------------- 1 | \begin{tikzpicture}[ 2 | ] 3 | \begin{axis}[ 4 | timeline, 5 | xmin=-4.8e6, xmax=.5e6, 6 | scaled ticks=base 10:-6, xlabel=M, 7 | extra x ticks={-2.5e6, -0.2e6}, extra x tick labels={\(-2.5\), \(\frac{2}{10}\)}, 8 | ] 9 | \addplot coordinates { 10 | (-4.0e6,0) 11 | (-2.5e6,0) 12 | (-2.0e6,0) 13 | (-0.2e6,0) 14 | }; 15 | \node [pin={[pin edge={blue,thin,<-,shorten <=-2pt}, anchor=south, pin distance=4ex]above: 16 | Australopithecus 17 | }] at (-4e6,0) {}; 18 | \node [pin={[pin edge={blue,thin,<-,shorten <=-2pt}, anchor=south, pin distance=1ex]above: 19 | Homo habilis 20 | }] at (-2.5e6,0) {}; 21 | \node [pin={[pin edge={blue,thin,<-,shorten <=-2pt}, anchor=south west, pin distance=4ex]above: 22 | Homo herectus 23 | }] at (-2.0e6,0) {}; 24 | \node [pin={[pin edge={blue,thin,<-,shorten <=-2pt}, anchor=south, pin distance=1ex]above: 25 | Homo sapiens 26 | }] at (-0.2e6,0) {}; 27 | \end{axis} 28 | \end{tikzpicture} -------------------------------------------------------------------------------- /life.tex: -------------------------------------------------------------------------------- 1 | \begin{tikzpicture} 2 | \begin{axis}[ 3 | timeline, 4 | xmin=-5e9, xmax=.5e9, 5 | scaled ticks=base 10:-9, xlabel=B, 6 | % extra x ticks={-230e6}, extra x tick labels={ 7 | % \hspace{-7pt}\footnotesize{\(-230\)M} 8 | % }, 9 | ] 10 | \addplot+ [mark options={fill=cyan, draw=darkgray}] coordinates { 11 | (-4.5e9,0) 12 | (-230e6,0) 13 | (- 65e6,0) 14 | }; 15 | \node [ 16 | pin={[pin edge={cyan,thin,<-,shorten <=-2pt}, 17 | anchor=south, pin distance=1ex]above: 18 | Earth 19 | }] at (-4.5e9,0) {}; 20 | \draw (-230e6,0) node [ 21 | pin={[pin edge={cyan,thin,<-,shorten <=-2pt}, 22 | anchor=south east, pin distance=3ex]135: 23 | Dinosaurs}, 24 | pin={[pin edge={semithick,shorten <=-2pt}, pin distance=1.1ex]below:\(-230\)M} 25 | ] {} [draw, very thick, cyan] -- (-65e6,0) node 26 | [pin={[pin edge={semithick,shorten <=-2pt}, pin distance=1ex, white]above:\(-65\)M}] {}; 27 | % \draw (-5e9,5.9mm) -- +(1e9,0); 28 | \end{axis} 29 | \end{tikzpicture} -------------------------------------------------------------------------------- /hominin.tex: -------------------------------------------------------------------------------- 1 | \begin{tikzpicture} 2 | \begin{axis}[ 3 | timeline, 4 | xmin=-4.8e6, xmax=.5e6, 5 | scaled ticks=base 10:-6, xlabel=M, 6 | extra x ticks={-2.5e6}, extra x tick labels={\(-2.5\)}, 7 | ] 8 | \addplot+ [mark options={fill=cyan, draw=darkgray}] coordinates { 9 | (-4.0e6,0) 10 | (-2.5e6,0) 11 | (-2.0e6,0) 12 | (-0.2e6,0) 13 | }; 14 | \node [ 15 | pin={[pin edge={cyan,thin,<-,shorten <=-2pt}, 16 | anchor=south, pin distance=4ex]above: 17 | Australopithecus 18 | }] at (-4e6,0) {}; 19 | \node [ 20 | pin={[pin edge={cyan,thin,<-,shorten <=-2pt}, 21 | anchor=south, pin distance=1ex]above: 22 | Homo habilis 23 | }] at (-2.5e6,0) {}; 24 | \node [ 25 | pin={[pin edge={cyan,thin,<-,shorten <=-2pt}, 26 | anchor=south west, pin distance=4ex]above: 27 | Homo herectus 28 | }] at (-2.0e6,0) {}; 29 | \node [ 30 | pin={[pin edge={cyan,thin,<-,shorten <=-2pt}, 31 | anchor=south, pin distance=1ex]above: 32 | Homo sapiens}, 33 | pin={[pin edge={semithick,shorten <=-2pt}, pin distance=1.1ex]below:\(-200\)k} 34 | ] at (-0.2e6,0) {}; 35 | \end{axis} 36 | \end{tikzpicture} --------------------------------------------------------------------------------