Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I want to use the package todonotes. Standard, the package prints the todo's in the right margin, while I want to have them in the left margin. Funny is, that in the manual itself they are placed in the left margin, but no documentation is given how to do that.

How can I get my todonotes nicely in my left margin!

(I am using \usepackage[left=3.7cm,right=2cm,top=2cm,bottom=4.2cm]{geometry} as my margins, if that's relevant. Also, if somebody thinks another package with the same functionality is better, please suggest)

share|improve this question

2 Answers 2

up vote 17 down vote accepted

Add \reversemarginpar after loading the geometry and todonotes packages. Note that as todonotes writes to the auxiliary file, you'll need to compile your source file at least twice to ensure that the lines it draws between the margin note and the connecting text are properly organised.

share|improve this answer

I can't check it right now with the geometry package, but a manual says:

1.6.5 Todonotes wrongly placed in the margin

When using some document classes or packages, the todonotes inserted in the page margin can be placed quite oddly. This is often caused by a wrong value of the \marginparwidth lenght. Try using the code below in your preamble to see if this cures the problem.

\setlength{\marginparwidth}{2cm}

Perhaps try to redefine this after loading the geometry package.

EDIT:

From http://en.wikibooks.org/wiki/LaTeX/Formatting#Margin_Notes : use command \reversemarginpar

This operates on a \marginpar command, which is used by todonotes.

share|improve this answer
    
That I tried already, but it is not the problem. That command only is about the width of the box, not it's location. Also without the geometry package the todonotes are in the right margin. –  Peter Smit Nov 10 '10 at 12:24
    
+1 for \reversemarginpar because Geoffrey Jones beat you by only 20 seconds. –  lockstep Nov 10 '10 at 23:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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