TransWikia.com

Change size of the inline image for Latex fragment in emacs org-mode

TeX - LaTeX Asked by sam33r on June 17, 2021

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?

2 Answers

I have this in my .emacs:

;; bigger latex fragment
(plist-put org-format-latex-options :scale 1.5)

Correct answer by thisirs on June 17, 2021

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

Answered by Peter Bamm on June 17, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP