I'd really like to have my tikz \todo notes in my twocolumn document. When writing on the right column it's fine, but the left column drives it crazy.

I tried to fiddle with the textwidth option but to no avil (e.g. textwidth=\columnwidth-ε and the like). Is there a solution?

p.s. This code goes wrong:

\documentclass[twocolumn]{article}
\usepackage{tikz}
\usepackage{todonotes}
\begin{document}
This is\todo{correct typos} some pretty cool text.
\end{document}
up vote 10 down vote accepted

Try the following in the preamble:

\setlength{\marginparwidth}{2cm}

This allows todo notes to sit further within the margin. This works for me when added to your MWE.

  • wow, that actually worked. but can I ask you a question? I'm using the fullpage package as well and this command didn't seem to clash with it: how is that possible? – donkey kong Mar 1 '12 at 23:47
  • By default fullpage sets all margins to 1 inch. This is slightly larger than the parwidth defined above, so the two don't clash. :) – qubyte Mar 1 '12 at 23:51
  • ah, good to know. My next mission will be to use the geometry package instead of fullpage. Thanks a lot! – donkey kong Mar 2 '12 at 0:05
  • You're very welcome! – qubyte Mar 2 '12 at 0:13
  • This tip can also be found in the official documentation of todonotes on page 10 in the PDF: ctan.org/pkg/todonotes – lindhe Sep 18 '17 at 13:58

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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