![在数字/浮动旁边进行注释](https://linux22.com/image/476609/%E5%9C%A8%E6%95%B0%E5%AD%97%2F%E6%B5%AE%E5%8A%A8%E6%97%81%E8%BE%B9%E8%BF%9B%E8%A1%8C%E6%B3%A8%E9%87%8A.png)
我在使用时面临一个非常基本的问题todonotes
包。我怎样才能将待办事项放在图形旁边?
我真的很感激一个简单的解决方案,例如修改todo
命令,因为这些评论只是临时的待办事项注释......
平均能量损失
\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}
答案1
\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}