I need to make a timeline using TikZ and I'am noob to this but I want to learn over just adding an image to my text.
This is what I need to do:
First, I don't know why but the line created is too long (I've tried several ways but is always the same) and also another problem is that the text is too long and when I try to use
\\
to separate it in different lines, it doesn't work (this is the most important problem that i need to solve).
And the last question is how could I put circles or dots to replace the lines to separate the periods?
This is my poor result:
And my code is this:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{snakes}
\usetikzlibrary{positioning}
\begin{figure}
\begin{tikzpicture}[x=5cm]
\draw[black,->,thick,>=latex]
(0,0) -- (5,0);
\foreach \Xc in {0,...,5}
{
\draw[black,thick]
(\Xc,0) -- ++(0,5pt);
}
\node[below,align=left,anchor=north,inner xsep=0pt,color=black]
at (0,0)
{Dueño diseña y ofrece un esquema de incentivos $w(a)$};
\node[below,align=left,anchor=north,inner xsep=0pt]
at (1,0)
{Gerente acepta o rechaza};
\node[below,align=left,anchor=north,inner xsep=0pt]
at (2,0)
{Gerente elige una (verificable) $a\in\lbrace m,s\rbrace$};
\node[below,align=left,anchor=north,inner xsep=0pt]
at (3,0)
{Naturaleza juega};
\node[below,align=left,anchor=north,inner xsep=0pt]
at (4,0)
{Flujos de caja $x$ y los beneficios $b$ son realizados. Compensación $w(a)$ es pagada};
\end{tikzpicture}
\end{figure}
\end{document}
I will appreciate any comments to improve my tikz timeline. Thanks to everyone :)