我在使用时面临一个非常基本的问题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}