5456ba2bc24b7d465776046bc24bab8f3b42c6d5
[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 \newcommand*{\paragraphDiamond}[1]{\paragraph{#1} \hspace{-6pt} \ensuremath{\diamond} }
21
22 %%% CIPHERSTRING
23 \usepackage{seqsplit} % Use Sequence split. Basically it inserts between every character pair a box with zero width to allow linebreaks everywhere. Better solution wanted, but is there any better?
24 \CatchFileDef{\cipherStringB}{common/cipherStringB.tex}{\endlinechar=-1 }%
25
26 %%% Local Variables: 
27 %%% mode: latex
28 %%% TeX-master: "../applied-crypto-hardening"
29 %%% End: