split out defined commands to common/commands.tex
[ach-master.git] / src / common / commands.tex
1 %%%
2 %%% commands.tex
3 %%% Document-specific commands
4 %%%
5
6 % Outputs red TODOs in the document. Requires \usepackage{color}.
7 %
8 % Usage: \todo{Document the TODO command.}
9 %
10 % Comment out second line to disable.
11 \AtBeginDocument{\providecommand{\todo}[1]{}}
12 \newcommand*{\todo}[1]{{\color{Red} TODO: {#1}}}
13
14 % Creating a horizontal rule
15 \newcommand*{\HorRule}{%
16   \color{darkblue}%
17   \rule{\linewidth}{1pt}%
18 }
19
20
21 %%% Local Variables: 
22 %%% mode: latex
23 %%% TeX-master: "../applied-crypto-hardening"
24 %%% End: