피규어/플로트 옆의 Todonote

피규어/플로트 옆의 Todonote

나는 작업할 때 매우 기본적인 문제에 직면하고 있습니다.todonotes패키지. 그림 바로 옆에 할 일 메모를 어떻게 배치할 수 있나요?

수정된 명령과 같은 간단한 솔루션을 제공해 주시면 정말 감사하겠습니다 todo. 이러한 설명은 일시적인 할 일 메모일 뿐이므로...

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}

문제 설명

답변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}

관련 정보