4

I love the ability to preview LateX fragments in Org-mode. With two easy shortcuts one can turn them on and off on-demand:

  • Turning previewing ON: C-c C-x, C-l
  • Turning previewing OFF: C-c C-c

One problem I encounter often is that the preview has a small font size. Is there any way to control it?

5

You can customize the variable org-format-latex-options to increase :scale.

See the Org Manual, 11.7.4 Previewing LaTeX fragments.

4

Expanding Constantine's answer.

You can use C-h v org-format-latex-options RET to understand what can be changed in this variable. One of the options is the scale. In the help page in Emacs you can click to change the value of the scale to 2.0, for example, so that the equations look bigger when you run C-c C-x C-l.

Alternatively, you can add the following to your init.el file:

(setq org-format-latex-options (plist-put org-format-latex-options :scale 2.0))

Which also increases the scale.

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.