summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'headers/messages.tex')
-rw-r--r--headers/messages.tex29
1 files changed, 29 insertions, 0 deletions
diff --git a/headers/messages.tex b/headers/messages.tex
new file mode 100644
index 0000000..eda07e2
--- /dev/null
+++ b/headers/messages.tex
@@ -0,0 +1,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.}
+ }
+}