# Todonote beside figures/floats

I am facing a very basic problem when working with the todonotes package. How can I place a todonote right beside a figure?

I would really appreciate a simple solution such as a modified todo command, since these comments are just temporary todo notes...

MWE

\documentclass{article}
\usepackage{todonotes}

\usepackage{blindtext} % for dummy text
\usepackage{tikz}      % for dummy pic

\begin{document}
\blindtext % dummy paragraph

\begin{figure} % dummy figure
\centering
\begin{tikzpicture}\draw(0,0) rectangle (5,3);\end{tikzpicture}
\caption{dummy caption}
\end{figure}%
\todo[noline]{I need this comment to be situated beside the figure...}

\blindtext % dummy paragraph
\end{document}


• You can put a note next to a figure with \marginnote, but not with \todo (or \marginpar). – John Kormylo Dec 12 '14 at 15:12

\documentclass{article}
\usepackage{todonotes}
\usepackage{marginnote}

\usepackage{blindtext} % for dummy text
\usepackage{tikz}      % for dummy pic

\begin{document}
\blindtext % dummy paragraph

\begin{figure} % dummy figure
\marginnote{I need this comment to be situated beside the figure...}
\centering
\begin{tikzpicture}\draw(0,0) rectangle (5,3);\end{tikzpicture}
\caption{dummy caption}

\end{figure}%
\todo{this note will show up on the todo list}

\blindtext % dummy paragraph
\end{document}

• BTW, \marginnote already has options to allow larger "notes", so the minipage may not be needed. – John Kormylo Dec 15 '14 at 14:51
• @JohnKormylo Thx, works for me without minipage. – ToJo Feb 4 '18 at 22:34