56

I'm using the package todonotes. How can I disable the todo notes for printing my final document? (I know it's possible, but I can't find it and I don't want to (manually) delete all my notes in the document...)

I've read the documentation, but I still have NO clue on what to type to disable todonotes. This is all I have in my preamble:

\usepackage{todonotes}
\newcommand{\td}[1]{\todo[inline]{#1}}

but commenting any of those will keep my note's text on the spot and just remove the formatting. I couldn't figure out what to type to fully remove that unless I go one by one and do it.

  • 1
    When you don't want your notes to be visible just change \usepackage{todonotes} to \usepackage[disable]{todonotes} – Splashy Nov 2 '10 at 14:17
  • 1
    Using the official methods is better, but you could just redefine the macro: \renewcommand{todo}[2][]{}. – Peter Grill Oct 9 '12 at 1:13
82

I just got it: for notes not to be visible just change:

\usepackage{todonotes}

to

\usepackage[disable]{todonotes}
23

You can also give it the obeyDraft option (\usepackage[obeyDraft]{todonotes}), so that it will display todonotes if your document is in draft mode and hide them if it isn't in draft mode. However, be aware that the draft mode also only shows bounding boxes for images, so that might be an issue.

  • 10
    My preferred option for todonotes is obeyFinal. With this option, todonotes will be disabled only in final mode. – Dario Seidl Nov 5 '13 at 15:28
  • 2
    to have the images displayed even on draft mode, you can use \usepackage[final]{graphicx} – carandraug Jan 6 '16 at 14:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.