15

I recently started using org-mode in emacs for my paper writing needs. One problem I have is that when I render latex equation fragments, the resulting inline images are too small for me to read easily.

Is there a way to scale up the rendered images?

5
  • »when I render«: Are the equations to small in the pdf or in the preview in orgmode? – Keks Dose Oct 21 '12 at 9:12
  • 2
    You can try to modify the variable preview-scale-function. It is documented at gnu.org/software/auctex/manual/preview-latex/… – N.N. Oct 21 '12 at 9:15
  • @KeksDose I have the problem with the preview in org-mode, so I'm pretty sure this is it (or he wouldn't call them fragments, inline, or mention org altogether). – Nikana Reklawyks Oct 21 '12 at 19:40
  • @KeksDose Yeah, its just the preview inside emacs – sam33r Oct 23 '12 at 3:22
  • @N.N. I couldn't find that variable in my installation, perhaps because I'm using Aquamacs on the Mac. Perhaps I should have mentioned that :P – sam33r Oct 23 '12 at 3:33
18

I have this in my .emacs:

;; bigger latex fragment
(plist-put org-format-latex-options :scale 1.5)
1
  • 1
    But this affects inline and display equations. Is there a way to set separate settings for inline and display equations? – becko Sep 24 '18 at 13:36
4

The answer from thisirs didn't work for me. The post is a bit old, so I guess it worked on an older version of org-mode. The following worked for me in Org mode version 9.1.9:

Pressing M-x customize-variable org-format-latex-options brings up the customization editor where I was able to set the scale to 1.5

This is what ended up in my .emacs file afterwards:

 '(org-format-latex-options
   (quote
    (:foreground default :background default :scale 1.5 :html-foreground "Black" :html-background "Transparent" :html-scale 1.0 :matchers
         ("begin" "$1" "$" "$$" "\\(" "\\["))))

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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