%%
%% The LaTeX Companion, 3ed
%%
%% Example 3-6-4 on page I-240 in "Customizing todos".
%%
%% Copyright (C) 2022 Frank Mittelbach
%%
%% It may be distributed and/or modified under the conditions
%% of the LaTeX Project Public License, either version 1.3c
%% of this license or (at your option) any later version.
%%
%% See
https://www.latex-project.org/lppl.txt for details.
%%
\documentclass{tlc3exa}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{197.0pt}
\setlength\textheight{7\baselineskip}
\sloppy
\setlength\marginparwidth{70pt}
\addtolength\textwidth{-\marginparwidth} % make room on the page
\addtolength\textwidth{-2\marginparsep} % in the book example
%StartShownPreambleCommands
\usepackage{todonotes}
%StopShownPreambleCommands
\begin{document}
In this\footnote{This footnote gets a
todo.\todo[inline,size=tiny]{See? But not
really good looking in footnotes}} short
example we demonstrate\todo[size=Large]{Shout}
sizing\todo[size=footnotesize]{Whisper} and
inline notes.
\end{document}