add DRAFT watermark!
authorAaron Kaplan <aaron@lo-res.org>
Wed, 13 Nov 2013 11:00:02 +0000 (12:00 +0100)
committerAaron Kaplan <aaron@lo-res.org>
Wed, 13 Nov 2013 11:00:02 +0000 (12:00 +0100)
add \todo{} macro

src/RNGs.tex
src/applied-crypto-hardening.tex

index 763b92a..a82a0ff 100644 (file)
@@ -1 +1,3 @@
 \section{Random Number Generators}
+
+\todo{still write this section}
index a8185aa..7a47129 100644 (file)
@@ -12,6 +12,8 @@
 
 \usepackage{lipsum}                                                                                                    % Package to create dummy text
 
+
+
 \usepackage[english]{babel}                                                                            % English language/hyphenation
 \usepackage[protrusion=true,expansion=true]{microtype}                         % Better typography
 \usepackage{amsmath,amsfonts,amsthm}                                   % Math packages
@@ -27,6 +29,7 @@
 \usepackage[usenames,dvipsnames,svgnames,table]{xcolor}
 \usepackage{placeins}
 \usepackage{hyperref}
+\usepackage{draftwatermark}
 
 \definecolor{green}{RGB}{32,113,10}
 \definecolor{orange}{RGB}{251,111,16}
 \bibliographystyle{plain}
 
 
+%% \todo{} command.
+%
+% Outputs red TODOs in the document. Requires \usepackage{color}.
+%
+% Usage: \todo{Document the TODO command.}
+%
+% Comment out second line to disable.
+\newcommand{\todo}[1]{}
+\renewcommand{\todo}[1]{{\color{red} TODO: {#1}}}
+
+
+
 %%% Custom sectioning (sectsty package)
 \usepackage{sectsty}                                                                                                   % Custom sectioning (see below)
 \allsectionsfont{%                                                                                                                     % Change font of al section commands