[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] LATEX text in figure environment
From: |
Andreas Leha |
Subject: |
Re: [O] LATEX text in figure environment |
Date: |
Tue, 24 Nov 2015 14:48:25 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (darwin) |
Rainer M Krug <address@hidden> writes:
> Rasmus <address@hidden> writes:
>
>> Rainer M Krug <address@hidden> writes:
>>
>>> Hi
>>>
>>> I want to add a todo note (from the todonotes package) in a figure
>>> environment. What I want should look as follow, so that the to note sits
>>> in the environment (based on [http://tex.stackexchange.com/a/256802/6941]
>>> ):
>>>
>>> ,----
>>> | \begin{figure}[htb]
>>> | \centering
>>> | \includegraphics[width=.9\linewidth]{fig-strategies.pdf}
>>> | \caption{from \cite{Roura-Pascual2009_rmkc}}
>>> | \todo[inline]{This figure needs to be redone and further info added}
>>> | \end{figure}
>>> `----
>>
>> This works up to the order of caption and the todo macro.
>>
>> #+caption: from \cite{Roura-Pascual2009_rmkc}
>> #+begin_figure
>> [[file:fig-strategies.pdf]]
>> #+latex: \todo[inline]{This figure needs to be redone and further info added}
>> #+end_figure
>
> Thanks,
>
> Rainer
Hi Rainer,
And if you do not mind the todonote in the caption (should work, I
guess) this might work as well:
#+CAPTION: from cite:Roura-Pascual2009_rmkc @@latex:\todo[inline]{This figure
needs to be redone and further info added}@@
[[file:fig-strategies.pdf]]
Best,
Andreas