I am writing a long document until I reached a point to write my work plan in a table. Now I want to set the timeline of each activity, to align to the corresponding task.
MSE below:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{booktabs}
\usepackage{floatrow}
\usepackage{tabularx}
\begin{document}
\begin{table}[h]
\caption{Table of activities}
\label{tblactivity}
\centering
\begin{tabular}{lccc}
\toprule
\textbf{No.} & \textbf{Activity} & \textbf{Task(s) to be completed} &
\textbf{Timeline}\\
\midrule
\textbf{1} &\multicolumn{1}{m{3cm}}{\textbf{\textit{Activity number 1}}} & \multicolumn{1}{m{7cm}}{ \begin{enumerate}
\item Some long sentence here, describing task 1 of activity 1
\item Another long sentence here, describing task 2 of activity 1
\item Yet another long sentence here, describing task 3 of activity 1
\item Activity 1 task 4 ...
\end{enumerate} } &
\\
\midrule
\textbf{2} & \multicolumn{1}{m{3cm}}{\textbf{\textit{Activity number 2}}} & \multicolumn{1}{m{7cm}}{ \begin{enumerate}
\item Activity 2 task 1
\item Activity 2 task 2
\item Activity 2 task 3
\end{enumerate} } \\
\bottomrule
\end{tabular}
\hfill
\end{table}
\end{document}
For each task 1,2,3 & 4 of activity 1 (say 2 months, 2 months, 1 month, 1 month), I want to set the deadline such that the time align with the task. So also Activity 2 etc...





articledocument? – leandriis Dec 07 '19 at 15:31