如果我使用这样的东西:
\ganttset{%
calendar week text={%
\small {\startday}
}%
}
我可以按日期细分一周:
但我希望它显示一周的开始日期和结束日期。像这样:
谢谢
编辑:这是我使用的代码示例:
\ganttset{%
calendar week text={%
\small {\startday}
}%
}
\noindent\resizebox{\textwidth}{!}{
\begin{ganttchart}[
x unit=2mm,
time slot format=isodate,
]{2021-03-01}{2021-03-31}
\gantttitlecalendar{month=name, week=1} \\
\ganttbar{A}{2021-03-01}{2021-03-07} \\
\ganttbar{B}{2021-03-08}{2021-03-14} \\
\ganttbar{C}{2021-03-15}{2021-03-21} \\
\ganttbar{D}{2021-03-22}{2021-03-28} \\
\ganttbar{E}{2021-03-29}{2021-03-31}
]
\end{ganttchart}
}