Skip to main content
24 votes

How to add todo notes?

The todonotes package suggested by MLC has colour built in. The \todo command can take several options, including color. This voids the need for making own commands if you just want to quickly colour ...
marts's user avatar
  • 340
22 votes

Extend page "width" or "margin" for todonotes comments or other package comments to sit in

I found that this works well if you want to make the paper wider while keeping the page layout unaffected (taken from this answer): \paperwidth=\dimexpr \paperwidth + 6cm\relax \oddsidemargin=\...
Joachim Breitner's user avatar
22 votes

Latex todonotes package set default to inline

In newer versions of todonotes you can use \setuptodonotes to set default options. \documentclass{article} \usepackage{todonotes} \setuptodonotes{inline} \begin{document} Some text.\todo{Improve ...
12 votes
Accepted

todonotes get cut off in margin of twoside document

Your todonotes are currently too wide to fit into a margin of 2 cm width. To resolve this, you have several options: 1: Increase the margin size: \documentclass[12pt,a4paper,twoside]{report} \...
leandriis's user avatar
  • 63.1k
9 votes
Accepted

How to install todonotes.sty package on Linux CentOS 7?

First, you need to locate where exactly that package is, which you seem to have already done (well, by trying to install the standard bundles). Anyway, this is how you need to formally do it. Running ...
Masroor's user avatar
  • 18k
9 votes

todonotes: Output loop---100 consecutive dead cycles after 50 \todo{} on a page

This is a low level tex error, latex is trying to arrange boxes to find a feasible place to make a page break, it has cycled 100 times (which is about 98 times more than usual) and failed to find any ...
David Carlisle's user avatar
8 votes
Accepted

setstretch and todonotes

You're missing \selectfont after \setstretch{1}. In order to avoid having to type in \setstretch{1}\selectfont in every note, you can abuse the size key: \documentclass{article} \usepackage{...
egreg's user avatar
  • 1.1m
7 votes
Accepted

tikzsymbol inside todonote

When both tikzsymbols and todonotes packages are loaded, the \dWinkey has unusual (erroneous?) height. This appears to be a conflict between the todonotes and tikzsymbols packages? So here, I load ...
Steven B. Segletes's user avatar
7 votes
Accepted

How to add To do notes in Table

The basic problem is that you try to place a float inside of a float. You could use the workaround for footnotes (which are also floats) presented in the todonotes-documentation, loading the ...
kmbkrkn's user avatar
  • 250
7 votes

What in my code changed between MacTeX 2017 and MacTex 2019?

An update to todonotes.sty introduced a regression: the code \define@key{todonotes.sty}% {textsize}{\renewcommand{\@todonotes@textsize}{\csname #1\endcsname}} became \define@key{todonotes.sty}% ...
egreg's user avatar
  • 1.1m
7 votes
Accepted

Springer Nature Template + Package problem

I also had this problem, and found an answer in another post on Tex.Stockexchange. For self-containedness, I include here the answer (courtesy of the user David Carlisle) The class includes the ...
casualcausality's user avatar
6 votes
Accepted

todonotes: How to make literally inline notes without line breaks?

You could do something like this (I assume that you are using pdflatex). There is imho no sensible way to get line breaks inside such todonotes, so I set a maximum size of 5cm. But as they will ...
Ulrike Fischer's user avatar
6 votes
Accepted

todonotes: how to hide certain entries from list of todos?

The todonotes package provides the option nolist for the \todo command which will hide the note from the list of todos (see package documentation, page 6): \documentclass{article} \usepackage[utf8]{...
Jasper Habicht's user avatar
6 votes
Accepted

todonotes breaks pgfplots and tikz spy with externalization

Answering my own question. \pgfsyspdfmark written to the .aux file seems to be responsible for the broken layout. Hence, disabling its usage in externalized documents as follows \ifthenelse{\equal{\...
caustic's user avatar
  • 1,067
6 votes
Accepted

Package todonotes: Display a \todo only the \listoftodos

You have two possibilitys: You can print all text in the margin completely in white with \newcommand{\mytodo}[1]{% \todo[linecolor=white, backgroundcolor=white,bordercolor=white, textcolor=white]...
Mensch's user avatar
  • 65.6k
6 votes
Accepted

todo notes inside tcolorbox

Only \todo[inline]{...} can be used inside anything else, otherwise you get a "Not in outer par mode" error. Alas, the inline version does not create the (inNote) coordinate used to draw the lines. ...
John Kormylo's user avatar
  • 81.1k
5 votes
Accepted

todonotes: How to make multiple listoftodos?

A bit hackish but imho it should work. Be aware that it assumes that you use hyperref. \documentclass{article} \usepackage{hyperref} \usepackage{lipsum} \usepackage[textwidth=2.5cm]{todonotes} \...
Ulrike Fischer's user avatar
5 votes

todonotes: How to make literally inline notes without line breaks?

I would suggest to do define the following command \newcommand{\inline}[1]{{\color{red}{#1}} \addcontentsline{tdo}{todo}{#1}} The comment is then highlighted and added to the list of todos. It is a ...
midtiby's user avatar
  • 1,863
5 votes
Accepted

Badbox when using package todonotes and command missingfigure

The 2pt is the linewidth in the warning sign code, you can add a negative space to correct for it, or you could ignore it, presumably you will add the figure at some point. probably worth raising with ...
David Carlisle's user avatar
5 votes

Widen page and margin while keeping other geometry settings

This seems to work: \paperwidth=\dimexpr \paperwidth + 6cm\relax \oddsidemargin=\dimexpr\oddsidemargin + 3cm\relax \evensidemargin=\dimexpr\evensidemargin + 3cm\relax \marginparwidth=\dimexpr \...
Joachim Breitner's user avatar
5 votes
Accepted

Todo notes cropped (potentially with fullpage package)

The value to change is textwidth, and the manual points out that you need to adjust \marginparwidth, so \usepackage[textwidth=0.7in]{todonotes} Equivalently, \usepackage{todonotes} \setlength\...
jarnosz's user avatar
  • 4,346
5 votes
Accepted

Why do I see this weird behavior when using the acmart class and the todonotes package?

acmart somewhat bravely redefines the internal \@starttoc command to take two arguments rather than one, the second one being some kind of subheading in the list. You can put that text (or just {}) ...
David Carlisle's user avatar
5 votes

AUTOREF error [italian] with \todonotes

I suggest you load the amsthm, hyperref, and (new) cleveref packages -- in this order -- and only then execute the \theoremstyle and \newtheorem directives. Next, in the body of the document, I'd like ...
Mico's user avatar
  • 514k
4 votes
Accepted

Package todonotes: How can I change the textcolor?

todonotes version 1.1.0 (2018/10/17) supports option textcolor \documentclass{article} \usepackage{blindtext} \usepackage[ textcolor=red, linecolor=red, bordercolor=red, ...
Hotschke's user avatar
  • 5,320
4 votes

How to add todo notes?

https://github.com/kkew3/todo-tex A Python3 solution that parses TODO notes in LaTeX source comments and outputs them on the terminal. Sample from the GitHub page: % myfile.tex \documentclass{...
Kevin's user avatar
  • 41
4 votes

TODONOTES and \reserved@a - nested itemize/enumerate environments

The todonotes manual (Page 15) suggests creating a macro using a minipage like this: \newcommand\todoin[2][]{\todo[inline, caption={2do}, #1]{ \begin{minipage}{\textwidth-4pt}#2\end{minipage}}} \...
MaPePeR's user avatar
  • 460
4 votes

Text shifts into the header when using `fancyhdr` with `todonotes`

Here's a KOMA-friendly method using scrlayer-scrpage: \documentclass[headheight=55pt,headsepline]{scrartcl} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \setcounter{secnumdepth}{5} \...
cfr's user avatar
  • 207k
4 votes
Accepted

How to add a todo notes in verbatim environment?

You can try with the capabilities of listings: \documentclass{article} \usepackage{listings,todonotes} \lstnewenvironment{todoverbatim}[1][] {\lstset{ basicstyle=\ttfamily, columns=...
Werner's user avatar
  • 607k
4 votes

How to place todonotes in left and right margin?

There is a way of achieving this by using the zref package and marginnotes. This answer is based on this answer about placing nodes on both sides and hints taken from this answer about zrefusage. The ...
franziska's user avatar
  • 113

Only top scored, non community-wiki answers of a minimum length are eligible