-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Figure captions (LaTeX export) #193
Comments
@dschrempf did you ever get any where with this? I have the exact same problem with adding other latex parameters to my outputs |
No, I am still using the code in the edit (essentially, I circumvent using the RESULT block, but rather directly link to the image file). Thereby, the caption and name do not get overridden. |
Fair enough - I've found it super useful, so thank you! I also made a simple snippet if anyone else stumbles on this https://github.com/SirSharpest/.emacs.d/blob/master/snippets/org-mode/pyimg |
Hi! Thanks a lot for the comment. I added your idea to the snippet I am using! Just for completeness:
|
The only way I manage to get a Figure caption(instead of the Figure alone) is to use ":results file" in the header.
has anyone observed this issue? Here is my code:
and the resulting PDF: |
I am producing LaTeX documents using Org + IPython and I would like to add figure captions (and possibly labels). I can do this, e.g., by adding
#+CAPTION: Bla
just above the figure in the results block. E.g., with:results raw drawer
:However, when reexecuting the source block, the results block gets replaced and the caption vanishes. Do you know a way around that?
Thanks,
Dominik
Edit: I just wanted to add, that I now use something like
It needs too much user intervention for my taste, but it could be automated quite well. I leave this open, maybe you have a better suggestion, but please feel free to close the issue!
The text was updated successfully, but these errors were encountered: