I'm writing a document with a5paper formatting (obtained through the geometry package). In particular this means that I have narrower margins.

I really like TikZ and especially todonotes. The problem is that the box is larger than the margin. To fix that, I used the option textwidth, and all went fine.

As a last thing, I'd like to be able to reduce the size of the text, so I can fit larger words in. The option textsize seems to be there just for this purpose: unfortunately it doesn't work for me.

Here is an example of code I tried

  blah blah blah blah\todo{more grothendieck blah} whatever blah blah.

obtaining the following in the log file

/usr/local/texlive/2008/texmf-dist/tex/latex/todonotes/todonotes.sty:80: LaTeX 
Error: Unknown option `textsize' for package `todonotes'

I also tried to download the package from CTAN and to load it locally but I got the same message.

Am I doing something wrong? Should I be perhaps updating TeXlive or something?

  • 3
    Your example works fine for me, with MikTeX 2.9 (beta), so yes, try updating TeXLive. – Torbjørn T. Oct 17 '10 at 10:31
  • According to the documentation textsize was added with version 0.7.6 of todonotes – Lev Bishop Oct 17 '10 at 15:18
  • 1
    @Torbjorn: Could you please post that as an answer, so that it can be accepted. (Works fine with TeX Live 2009 and 2010.) – Caramdir Oct 17 '10 at 16:58
  • I can't believe I still have texlive 2008! I'll proceed with an update immediately. – slackenerny Oct 17 '10 at 23:17
  • @slackerny, I am not sure if I'm right, but I think it would be better to write more informative titles when posting a question, for example: 'Problem with the textsize option in todonotes' or similar. – Vladimir Nov 11 '11 at 8:44

Your example works fine with MikTeX 2.9 beta and TeXLive 2009/2010 (ref. Caramdirs comment), so an update of TeXLive should do the trick.

  • Maybe redundant but let me add that I tried it with TexLive 2011 (on Ubuntu 11.10) and it also works. – Vladimir Nov 11 '11 at 8:50

From reading the documentation, it looks like you want to use the option [size=\tiny].

  • Sure, but doesn't this work just for the single \todo command and not globally as an option for the whole package? I guess I could always write a \newcommand to include that option. It's just a shame that this textsize doesn't work. – slackenerny Oct 17 '10 at 10:05
  • @slackenerny: Ah yes, you are correct. – TH. Oct 17 '10 at 10:51
  • @TH: anyway, I appreciated the RTFM answer, I should be doing it more often. – slackenerny Oct 18 '10 at 0:33
  • @slackenerny: And I should have read it more carefully. =) – TH. Oct 18 '10 at 7:29

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.