Redaction
First is the code from the definitions.tex file:
\newcommand*{\OldProject}{%
\censor{mind}-\censor{controlling} \censor{cookies}}
\newcommand*{\NewProject}{%
\censor{ray} \censor{gun}}
\newcommand*{\SuccessRates}{%
\censorbox{%
\begin{tabular}{lc}
\bfseries Project & \bfseries Success Rate \\
Mind-controlling Cookies & 2\%\\
Telepathic Cakes & 1\%\\
Exploding Chocolates & 25\%
\end{tabular}%
}
}
Next is the main document code:
\documentclass[captions=tableheading]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{censor}
\InputIfFileExists{definitions}{}%
{%
\newcommand*{\OldProject}{%
\censor*{4}-\censor*{11} \censor*{7}}
\newcommand*{\NewProject}{%
\censor*{3} \censor*{3}}
\newcommand*{\SuccessRates}{%
\censorbox*{40}{4}{0}}
}
\begin{document}
Following the research group's unsuccessful attempt
to create \OldProject, they will now be working
on a new \NewProject. The success rate of previous projects is
shown in Table~\ref{tab:success}.
\begin{table}
\caption{Project Success Rates}
\label{tab:success}
\centering
\SuccessRates
\end{table}
\end{document}
Download redaction.tex or redaction.pdf.
