Skip to content

Instantly share code, notes, and snippets.

@orbekk
Created October 19, 2011 15:24
Show Gist options
  • Save orbekk/1298622 to your computer and use it in GitHub Desktop.
Save orbekk/1298622 to your computer and use it in GitHub Desktop.
LaTeX \todo macro.
%% \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}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment