summaryrefslogtreecommitdiff
blob: eda07e2a226a7b94484ad57f204a5ff5a096e7a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
\IfFileExists{todonotes.sty}{\usepackage{todonotes}}{\usepackage{xcolor}}

\newcommand{\todomsg}[1]{%
   \IfFileExists{todonotes.sty}{%
      \todo[inline]{TODO: #1}%
   }{%
      \textcolor{red}{TODO: #1}%
   }
}

\newcommand{\unimplemented}[0]{%
   \IfFileExists{todonotes.sty}{%
      \todo[inline,linecolor=blue,backgroundcolor=blue!25,bordercolor=blue]{%
         Not implemented yet.
      }%
   }{%
      \textcolor{blue}{Not implemented yet.}
   }
}

\newcommand{\draft}[0]{%
   \IfFileExists{todonotes.sty}{%
      \todo[inline,linecolor=purple,backgroundcolor=purple!25,bordercolor=purple]{%
         Still an early draft.
      }%
   }{%
      \textcolor{purple}{Still an early draft.}
   }
}