我尝试将以下代码从每周三次改为每周两次,但没有成功。另外,我想更改日期格式,使其显示:Mon Jan 28。如能得到帮助,不胜感激。
\documentclass{article}
\usepackage{advdate,datetime}% http://ctan.org/pkg/{advdate,datetime}
\newenvironment{schedule}
{\par\longdate\renewcommand{\item}{\par%
\stepcounter{mycntr}\ifnum\value{mycntr}>3\relax%
\setcounter{mycntr}{0}\AdvanceDate[3]%
\else
\AdvanceDate[2]%
\fi\today\quad}
}{\par}
\newcounter{mycntr}
\begin{document}
\begin{schedule}
\item Something
\item Something else
\item Relax
\item Go to the sea
\item Something
\item Something else
\item Relax
\item Go to the sea
\end{schedule}
\end{document}