Skip to content

Instantly share code, notes, and snippets.

@PhilGeek
Created November 22, 2008 19:22
Show Gist options
  • Save PhilGeek/27922 to your computer and use it in GitHub Desktop.
Save PhilGeek/27922 to your computer and use it in GitHub Desktop.
LaTeX preamble for generating TODO lists
% TODO List
\usepackage{color}
\usepackage{index} % use index package to create indices
\newindex{todo}{tod}{tnd}{TODO List} % start todo list
\newindex{fixme}{fix}{fnd}{FIXME List} % start fixme list
\newcommand{\todo}[1]{\textcolor{blue}{TODO: #1}\index[todo]{#1}} % macro for todo entries
\newcommand{\fixme}[1]{\textcolor{red}{FIXME: #1}\index[fixme]{#1}} % macro for fixme entries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment