Timeline
Forfatter
mayank
Sidst opdateret
10 år siden
Licens
Creative Commons CC BY 4.0
Resumé
Basic timeline.
\documentclass[landscape]{article}
\usepackage[svgnames]{xcolor}
\usepackage{tikz}
\usetikzlibrary{positioning}
\usetikzlibrary{backgrounds}
\thispagestyle{empty}
\usepackage[graphics,tightpage,active]{preview}
\PreviewEnvironment{tikzpicture}
\PreviewEnvironment{equation}
\setlength\PreviewBorder{2mm}
\PreviewEnvironment{equation*}
\newlength{\imagewidth}
\newlength{\imagescale}
\pagestyle{empty}
\thispagestyle{empty}
\begin{document}
\begin{tikzpicture}[scale=0.75,
show background rectangle,
background rectangle/.style={fill=white},
color=black,help lines/.style={color=black,line width=0.2pt}]
\draw[style=help lines] (0,0) rectangle (2,10.5); %vertical rectangles
%\draw[style=help lines] (2,0) rectangle (2.25,10.5); %vertical rectangles
%\draw[style=help lines] (2.25,0) rectangle (2.5,10.5); %vertical rectangles
%\draw[style=help lines] (2.5,0) rectangle (2.75,10.5); %vertical rectangles
%\draw[style=help lines] (2.75,0) rectangle (3,10.5); %vertical rectangles
\draw[style=help lines] (3,0) rectangle (3.25,10.5); %vertical rectangles
\draw[style=help lines] (3.25,0) rectangle (3.5,10.5); %vertical rectangles
\draw[style=help lines] (3.5,0) rectangle (3.75,10.5); %vertical rectangles
\draw[style=help lines] (3.75,0) rectangle (4,10.5); %vertical rectangles
\draw[style=help lines] (4,0) rectangle (4.25,10.5); %vertical rectangles
\draw[style=help lines] (4.25,0) rectangle (4.5,10.5); %vertical rectangles
\draw[style=help lines] (4.5,0) rectangle (4.75,10.5); %vertical rectangles
\draw[style=help lines] (4.75,0) rectangle (5,10.5); %vertical rectangles
\draw[style=help lines] (5,0) rectangle (5.25,10.5); %vertical rectangles
\draw[style=help lines] (5.25,0) rectangle (5.5,10.5); %vertical rectangles
\draw[style=help lines] (5.5,0) rectangle (5.75,10.5); %vertical rectangles
\draw[style=help lines] (5.75,0) rectangle (6,10.5); %vertical rectangles
\draw[style=help lines] (6,0) rectangle (6.25,10.5); %vertical rectangles
\draw[style=help lines] (6.25,0) rectangle (6.5,10.5); %vertical rectangles
\draw[style=help lines] (6.5,0) rectangle (6.75,10.5); %vertical rectangles
\draw[style=help lines] (6.75,0) rectangle (7,10.5); %vertical rectangles
\draw[style=help lines] (7,0) rectangle (7.25,10.5); %vertical rectangles
\draw[style=help lines] (7.25,0) rectangle (7.5,10.5); %vertical rectangles
\draw[style=help lines] (7.5,0) rectangle (7.75,10.5); %vertical rectangles
\draw[style=help lines] (7.75,0) rectangle (8,10.5); %vertical rectangles
\draw[style=help lines] (8,0) rectangle (8.25,10.5); %vertical rectangles
\draw[style=help lines] (8.25,0) rectangle (8.5,10.5); %vertical rectangles
\draw[style=help lines] (8.5,0) rectangle (8.75,10.5); %vertical rectangles
\draw[style=help lines] (8.75,0) rectangle (9,10.5); %vertical rectangles
\draw[style=help lines] (9,0) rectangle (9.25,10.5); %vertical rectangles
\draw[style=help lines] (9.25,0) rectangle (9.5,10.5); %vertical rectangles
\draw[style=help lines] (9.5,0) rectangle (9.75,10.5); %vertical rectangles
\draw[style=help lines] (9.75,0) rectangle (10,10.5); %vertical rectangles
\draw[style=help lines] (10,0) rectangle (10.25,10.5); %vertical rectangles
\draw[style=help lines] (10.25,0) rectangle (10.5,10.5); %vertical rectangles
\draw[style=help lines] (10.5,0) rectangle (10.75,10.5); %vertical rectangles
\draw[style=help lines] (10.75,0) rectangle (11,10.5); %vertical rectangles
\draw[style=help lines] (11,0) rectangle (11.25,10.5); %vertical rectangles
\draw[style=help lines] (11.25,0) rectangle (11.5,10.5); %vertical rectangles
\draw[style=help lines] (11.5,0) rectangle (11.75,10.5); %vertical rectangles
\draw[style=help lines] (11.75,0) rectangle (12,10.5); %vertical rectangles
\draw[style=help lines] (12,0) rectangle (12.25,10.5); %vertical rectangles
\draw[style=help lines] (12.25,0) rectangle (12.5,10.5); %vertical rectangles
\draw[style=help lines] (12.5,0) rectangle (12.75,10.5); %vertical rectangles
\draw[style=help lines] (12.75,0) rectangle (13,10.5); %vertical rectangles
\draw[style=help lines] (13,0) rectangle (13.25,10.5); %vertical rectangles
\draw[style=help lines] (13.25,0) rectangle (13.5,10.5); %vertical rectangles
\draw[style=help lines] (13.5,0) rectangle (13.75,10.5); %vertical rectangles
\draw[style=help lines] (13.75,0) rectangle (14,10.5); %vertical rectangles
\draw[style=help lines] (14,0) rectangle (14.25,10.5); %vertical rectangles
\draw[style=help lines] (14.25,0) rectangle (14.5,10.5); %vertical rectangles
\draw[style=help lines] (14.5,0) rectangle (14.75,10.5); %vertical rectangles
\draw[style=help lines] (14.75,0) rectangle (15,10.5); %vertical rectangles
\draw[style=help lines] (15,0) rectangle (15.25,10.5); %vertical rectangles
\draw[style=help lines] (15.25,0) rectangle (15.5,10.5); %vertical rectangles
\draw[style=help lines] (15.5,0) rectangle (15.75,10.5); %vertical rectangles
\draw[style=help lines] (15.75,0) rectangle (16,10.5); %vertical rectangles
\draw[style=help lines] (16,0) rectangle (16.25,10.5); %vertical rectangles
\draw[style=help lines] (16.25,0) rectangle (16.5,10.5); %vertical rectangles
\draw[style=help lines] (16.5,0) rectangle (16.75,10.5); %vertical rectangles
\draw[style=help lines] (16.75,0) rectangle (17,10.5); %vertical rectangles
\draw[style=help lines] (17,0) rectangle (17.25,10.5); %vertical rectangles
\draw[style=help lines] (17.25,0) rectangle (17.5,10.5); %vertical rectangles
\draw[style=help lines] (17.5,0) rectangle (17.75,10.5); %vertical rectangles
\draw[style=help lines] (17.75,0) rectangle (18,10.5); %vertical rectangles
\draw[style=help lines] (18,0) rectangle (18.25,10.5); %vertical rectangles
\draw[style=help lines] (18.25,0) rectangle (18.5,10.5); %vertical rectangles
\draw[style=help lines] (18.5,0) rectangle (18.75,10.5); %vertical rectangles
\draw[style=help lines] (18.75,0) rectangle (19,10.5); %vertical rectangles
\draw[style=help lines] (19,0) rectangle (19.25,10.5); %vertical rectangles
\draw[style=help lines] (19.25,0) rectangle (19.5,10.5); %vertical rectangles
\draw[style=help lines] (19.5,0) rectangle (19.75,10.5); %vertical rectangles
\draw[style=help lines] (19.75,0) rectangle (20,10.5); %vertical rectangles
\draw[style=help lines] (20,0) rectangle (20.25,10.5); %vertical rectangles
\draw[style=help lines] (20.25,0) rectangle (20.5,10.5); %vertical rectangles
\draw[style=help lines] (20.5,0) rectangle (20.75,10.5); %vertical rectangles
\draw[style=help lines] (20.75,0) rectangle (21,10.5); %vertical rectangles
\draw[style=help lines] (21,0) rectangle (21.25,10.5); %vertical rectangles
\draw[style=help lines] (21.25,0) rectangle (21.5,10.5); %vertical rectangles
\draw[style=help lines] (21.5,0) rectangle (21.75,10.5); %vertical rectangles
\draw[style=help lines] (21.75,0) rectangle (22,10.5); %vertical rectangles
\draw (.75,10.5) node[anchor=south] {\small{Inclinometer}};
\draw (2.5,10.5) node[anchor=south] {1992};
\draw (3.5,10.5) node[anchor=south] {1993};
\draw (4.5,10.5) node[anchor=south] {1994};
\draw (5.5,10.5) node[anchor=south] {1995};
\draw (6.5,10.5) node[anchor=south] {1996};
\draw (7.5,10.5) node[anchor=south] {1997};
\draw (8.5,10.5) node[anchor=south] {1998};
\draw (9.5,10.5) node[anchor=south] {1999};
\draw (10.5,10.5) node[anchor=south] {2000};
\draw (11.5,10.5) node[anchor=south] {2001};
\draw (12.5,10.5) node[anchor=south] {2002};
\draw (13.5,10.5) node[anchor=south] {2003};
\draw (14.5,10.5) node[anchor=south] {2004};
\draw (15.5,10.5) node[anchor=south] {2005};
\draw (16.5,10.5) node[anchor=south] {2006};
\draw (17.5,10.5) node[anchor=south] {2007};
\draw (18.5,10.5) node[anchor=south] {2008};
\draw (19.5,10.5) node[anchor=south] {2009};
\draw (20.5,10.5) node[anchor=south] {2010};
\draw (21.5,10.5) node[anchor=south] {2011};
%\draw (2.5,.5) node[anchor=north] {2011};
\node[label={[label distance=0.5cm,text depth=-1ex,rotate=90]right: Reconstruction of the railway tunnel}] at (2.25,0.5) {};
\draw (0,10.5) node[anchor=north west] {\small{B25}};
\draw (0,10.) node[anchor=north west] {\small{B24}};
\draw (0,9.5) node[anchor=north west] {\small{B23}};
\draw (0,9.0) node[anchor=north west] {\small{B22}};
\draw (0,8.5) node[anchor=north west] {\small{FS5}};
\draw (0,8.0) node[anchor=north west] {\small{FS7}};
\draw (0,7.5) node[anchor=north west] {\small{FS6}};
\draw (0,7.) node[anchor=north west] {\small{FSC}};
\draw (0,6.5) node[anchor=north west] {\small{S1f}};
\draw (0,6.) node[anchor=north west] {\small{S2f}};
\draw (0,5.5) node[anchor=north west] {\small{FSB}};
\draw (0,5.) node[anchor=north west] {\small{I1}};
\draw (0,4.5) node[anchor=north west] {\small{I2}};
\draw (0,4.) node[anchor=north west] {\small{I3}};
\draw (0,3.5) node[anchor=north west] {\small{I4}};
\draw (0,3.) node[anchor=north west] {\small{I5}};
\draw (0,2.5) node[anchor=north west] {\small{I6}};
\draw (0,2.) node[anchor=north west] {\small{SF}};
\draw (0,1.5) node[anchor=north west] {\small{SE}};
\draw (0,1.) node[anchor=north west] {\small{SD}};
\draw (2,0.0) rectangle (3,10.5); %for red rectangles
\draw (3,0.0) rectangle (4,10.5); %for red rectangles
\draw (4,0.0) rectangle (5,10.5); %for red rectangles
\draw (5,0.0) rectangle (6,10.5); %for red rectangles
\draw (6,0.0) rectangle (7,10.5); %for red rectangles
\draw (7,0.0) rectangle (8,10.5); %for red rectangles
\draw (8,0.0) rectangle (9,10.5); %for red rectangles
\draw (9,0.0) rectangle (10,10.5); %for red rectangles
\draw (10,0.0) rectangle (11,10.5); %for red rectangles
\draw (11,0.0) rectangle (12,10.5); %for red rectangles
\draw (12,0.0) rectangle (13,10.5); %for red rectangles
\draw (13,0.0) rectangle (14,10.5); %for red rectangles
\draw (14,0.0) rectangle (15,10.5); %for red rectangles
\draw (15,0.0) rectangle (16,10.5); %for red rectangles
\draw (16,0.0) rectangle (17,10.5); %for red rectangles
\draw (17,0.0) rectangle (18,10.5); %for red rectangles
\draw (18,0.0) rectangle (19,10.5); %for red rectangles
\draw (19,0.0) rectangle (20,10.5); %for red rectangles
\draw (20,0.0) rectangle (21,10.5); %for red rectangles
\draw (21,0.0) rectangle (22,10.5); %for red rectangles
%another style horizontal lines
\draw[style=help lines] (0,8.5) -- (2,8.5);
\draw[style=help lines] (3,8.5) -- (22,8.5);
\draw[style=help lines] (0,7.5) -- (2,7.5);
\draw[style=help lines] (3,7.5) -- (22,7.5);
\draw[style=help lines] (0,6.5) -- (2,6.5);
\draw[style=help lines] (3,6.5) -- (22,6.5);
\draw[style=help lines] (0,5.) -- (2,5.);
\draw[style=help lines] (3,5.) -- (22,5);
\draw[style=help lines] (0,2.) -- (2,2.);
\draw[style=help lines] (3,2) -- (22,2);
\draw[style=help lines] (0,.5) -- (2,.5);
\draw[style=help lines] (3,.5) -- (22,.5);
\filldraw[fill=red] (3.75,10.5) rectangle (4.75,10.);
\filldraw[fill=red] (3.75,10.) rectangle (4.75,9.5);
\filldraw[fill=red] (3.75,9.5) rectangle (4.75,9.);
\filldraw[fill=red] (3.75,9.) rectangle (4.75,8.5);
\filldraw[fill=blue] (6.5,8.5) rectangle (21.,8.);
\filldraw[fill=blue] (6.5,8.) rectangle (7.,7.5);
\filldraw[fill=Silver] (11.75,7.5) rectangle (11.,7.);
\filldraw[fill=Silver] (11.75,7.) rectangle (11.,6.5);
\filldraw[fill=yellow] (12.75,6.5) rectangle (13,6.);
\filldraw[fill=yellow] (12.75,6.) rectangle (13,5.5);
\filldraw[fill=yellow] (12.75,5.5) rectangle (13,5.);
\filldraw[fill=black] (21.25,5.) rectangle (15,4.5);
\filldraw[fill=black] (15.25,4.5) rectangle (15,4.);
\filldraw[fill=black] (16.75,4.) rectangle (15,3.5);
\filldraw[fill=black] (21.25,3.5) rectangle (15,3.);
\filldraw[fill=black] (21.25,3.) rectangle (15,2.5);
\filldraw[fill=black] (18.75,2.5) rectangle (15,2.);
\filldraw[fill=green] (11.,2.) rectangle (11.75,1.5);
\filldraw[fill=green] (11.,1.5) rectangle (11.75,1.);
\filldraw[fill=green] (11.,1.) rectangle (11.75,.5);
\end{tikzpicture}
\end{document}