
我在使用時面臨一個非常基本的問題todonotes
包裹。如何將 todonote 放置在人物旁邊?
我真的很感激一個簡單的解決方案,例如修改的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}