About
Shop
LaTeX
Software
Books
Gallery
News
Contact
Blog
Settings
Account
Latest news 2024-12-13: Ebook sale (12th December 2024 – 1st January 2025): cybercrime fiction short stories Unsocial Media and Smile for the Camera free; crime fiction short story The Briefcase free; short story noir crime fiction I’ve Heard the Mermaid Sing free; crime fiction novel The Private Enemy US$1.99; illustrated children’s story The Foolish Hedgehog US$0.99.

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.

© 2015 Dickimaw Books. "Dickimaw", "Dickimaw Books" and the Dickimaw parrot logo are trademarks. The Dickimaw parrot was painted by Magdalene Pritchett.

Terms of Use Privacy Policy Cookies Site Map FAQs