TransWikia.com

Creating a very long timeline

TeX - LaTeX Asked by TeXomat on September 26, 2021

Following this answer (https://tex.stackexchange.com/a/472967/211164), I’m trying to create a historic timeline ranging from 200,000 BCE to 2020 CE, but seemingly ran out of page space: "Dimension too large."

How can I extend the dimension to fit my timeline onto a sheet of paper? Alternatively, would it be easier to go vertical?

documentclass{article}
usepackage{chronosys}

newcommand{mychronodatestyle}[1]{

pgfmathparse{equal(sign(#1),-1)? int(abs(#1)):#1 }
pgfmathresult
pgfmathparse{equal(sign(#1),-1)? "BCE":}
 ~pgfmathresult
 }

 catcode`!=11
 defeventyear{!chreventyear}
 catcode`!=12

 newcommand{myeventdatestyle}[1]{
 pgfmathparse{equal(sign(eventyear),-1)? int(abs(eventyear)):"#1"}
pgfmathresult
 pgfmathparse{equal(sign(eventyear),-1)? "BCE":}
 ~pgfmathresult
 }

begin{document}
startchronology
[startyear=-200000,stopyear=2020, arrow=false, height=0.2em, dateselevation=10pt,datesstyle=mychronodatestyle]

chronoevent[datestyle=myeventdatestyle ]
{12/-100000}{something}

chronoevent[datestyle=myeventdatestyle ]
{12/-80000}{something}

chronoevent[datestyle=myeventdatestyle ]
{12/-7000}{something}

chronoevent[datestyle=myeventdatestyle ]
{12/-753}{Rome's foundation}

chronoperiode[datesstyle=mychronodatestyle,dateselevation=2pt]{-500}{-200}{important event}

chronoevent[datestyle=myeventdatestyle ]
{12/-80}{something}

chronoevent[datestyle=myeventdatestyle ]
{12/-2}{something}

chronoevent[datestyle=myeventdatestyle ]
{12/6}{something}

chronoevent[datestyle=myeventdatestyle ]
{12/68}{something}

chronoevent[datestyle=myeventdatestyle ]
{12/895}{something}

chronoevent[datestyle=myeventdatestyle ]
{12/1003}{something}

chronoevent[datestyle=myeventdatestyle ]
{12/2018}{something}

stopchronology
end{document}

Note: this is a condensed version as the actual version features many more date inputs.

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP