Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \newcounter{mycntr}\newcommand\mycntr{\arabic{mycntr}} %https://tex.stackexchange.com/questions/287267/how-can-i-test-the-value-of-two-counters
- \setcounter{mycntr}{0}
- \newenvironment{schedule}[1][\relax]
- {\par#1\longdate\renewcommand{\item}{\par%
- \stepcounter{mycntr}\ifnum\value{mycntr}>5\relax%
- \setcounter{mycntr}{1}\AdvanceDate[3]%
- \else
- \AdvanceDate[1]%
- \fi\today\newline – \hspace{1cm}}
- }{\par}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement