Hello guys I'm an undergraduate student and relatively new to LaTeX.
I am trying to draw a timing like this, where
- I can increase/decrease the size of the rectangles
- write without items
- to have a tick arrow.
- Eliminate the line linking the rectangles.
Here is my original code.
\doublespacing
\begin{figure}[h]
\caption{Timing.}
\tikzset{dataset/.style = {rectangle, draw, text width = 2in, minimum height=1in}}
\begin{tikzpicture}[auto, font={\scriptsize}]
\node [dataset] (tm) {\textbf{Date \emph{t} = 1}
\begin{enumerate}[itemsep=0pt,partopsep=0pt,topsep=0pt,label=(\alph*)]
\item{First-period contract is offered after the firm learns $\theta_1$.}
\item{The firm chooses whether to reveal $\bar{\theta_t}$.}
\end{enumerate}\par};
\node [dataset, right of=tm, node distance=3in] (dmv) {\textbf{Date \emph{t} = 2}
\begin{enumerate}[itemsep=0pt,partopsep=0pt,topsep=0pt,label=(\alph*)]
\item{$\bar{\theta_t}$ becomes public.}
\item{Tradeoff.}
\end{enumerate}\par};
\path [-] (tm) edge node[above, sloped] {} (dmv);
\end{tikzpicture}
\label{fig:dataset}
\end{figure}
With the code I get this,
Many thanks.



