16

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
    Commented Oct 21, 2012 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.
    Commented Oct 21, 2012 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). Commented Oct 21, 2012 at 19:40
  • @KeksDose Yeah, its just the preview inside emacs
    – sam33r
    Commented Oct 23, 2012 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
    Commented Oct 23, 2012 at 3:33

2 Answers 2

21

I have this in my .emacs:

;; bigger latex fragment
(plist-put org-format-latex-options :scale 1.5)
2
  • 1
    But this affects inline and display equations. Is there a way to set separate settings for inline and display equations?
    – a06e
    Commented Sep 24, 2018 at 13:36
  • For me, this results in an "Error: void-variable org-format-latex-options"
    – pfincent
    Commented Jan 11, 2022 at 3:18
6

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" "$" "$$" "\\(" "\\["))))

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .