# Drawing timeline with tikz

I am trying to draw the following picture in tikz by myself because I need other labels. Is there a smart way of drawing?

• Have a look at this answer tex.stackexchange.com/a/227149/141947 – BambOo May 8 at 9:08
• This was a great tip, thank you very much! – Xandria May 8 at 9:09
• Good to hear. Try make your timeline with the proposed solution. If you can't manage it, edit your question and we will provide more specific support – BambOo May 8 at 9:12

The small variation of OP answer (+1):

\documentclass[12pt,oneside,english,reqno,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage{tikz}
\usetikzlibrary{chains,
positioning,
%---------------- show page layout. don't use in a real document!
\usepackage{showframe}
\renewcommand\ShowFrameLinethickness{0.15pt}
\renewcommand*\ShowFrameColor{\color{red}}
%---------------------------------------------------------------%

\begin{document}
\begin{center}
\begin{tikzpicture}[
node distance=2mm,
start chain = going right,
arrow/.style = {shape=signal,
signal from=west, signal to=east,
signal pointer angle=110,
draw, font=\small,
minimum height=13mm, inner xsep=5pt, align=left,
top color=blue!80!green!80, bottom color=blue!30,
on chain
}
]
\foreach \Smois in {Railroad\\ blocking , Train\\ scheduling ,
Locomotive\\ assignment , Crew\\ pairing ,
Crew\\ rostering }
\node[arrow] {\Smois};
\end{tikzpicture}
\end{center}
\end{document}


which produce:

(red lines indicates text area borders)

and tikzpicture's preamble, which use in above MWE replicate image shown in OP question:

node distance= 0mm,
start chain = going right,
arrow/.style = {shape=signal,
signal from=west, signal to=east,
signal pointer angle=110,
draw, font=\small,
minimum height=13mm, inner xsep=5pt, align=left,
fill=gray!30, outer sep=0pt,
on chain
}


• Thank you very much, this is also very nice – Xandria May 9 at 14:13

Thanks to the comment of BambOo, I was able to do it myself. At first the code. It is just slighly a difference of the link above.

\documentclass[12pt,oneside,english,reqno,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{tikz}
\usetikzlibrary{shapes}
\usetikzlibrary{decorations.pathmorphing}
\usetikzlibrary{shapes.callouts}
\usetikzlibrary{decorations.text}
\usepackage{varwidth}
\newcommand\Umbruch[2][3cm]{\begin{varwidth}{#1}\centering#2\end{varwidth}}

\begin{document}
\begin{tikzpicture}[]
\tikzset{
arrow/.style={
draw,
minimum height=1.5cm,
minimum width=1cm,
inner sep=2pt,
shape=signal,
signal from=west,
signal to=east,
signal pointer angle=110,
top color=blue!80!green!90!,
bottom color=blue!30,
%      fill=blue!50,
}
}
\begin{scope}[start chain=going right,node distance=3pt,]
\foreach \mois / \Smois in {Railroad blocking , Train scheduling , Locomotive assignment , Crew pairing , Crew rostering }
\node[name=\mois, arrow,on chain, xscale=.92] {\Umbruch{\small{\Smois}}};
\end{scope}
\end{tikzpicture}

\end{document}



Compiling this code should look like this:

• The best answer, the one you propose yourself ! – BambOo May 8 at 10:02