I write my research notes in org-mode, and I'd like to avoid writing #+ATTR_LaTeX: :width 5cm :placement [!htpb] right before all of my figures, to save some time. A possible solution might be to make changes to my .emacs file. I'm just not sure what to add.

I have spent quite some time searching for a solution to this, but so far I haven't found one.

Any suggestion will be greatly appreciated.

This should work:

(setq org-latex-image-default-width "5cm")

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.