5

LaTeX preview with C-c C-x C-l looks very tiny on my HiDPI screen. What can I do to solve this?enter image description here

José María
  • 273
  • 1
  • 2
  • 5

2 Answers2

5

The variable preview-scale-function in the preview-appearance group controls this. From the customization menu:

Preview Scale Function: [Value Menu] preview-scale-from-face
Calculate preview scale from ‘preview-reference-face’.
This calculates the scale of EPS images from a document assumed to have a default font size given by function ‘preview-document-pt’ so that they match the reference face in height.

Scale factor for included previews.
This can be either a function to calculate the scale, or a fixed number.

Try setting the value to various fixed numbers. The preview sizes should shift up or down accordingly.

Tyler
  • 21,719
  • 1
  • 52
  • 92
  • strange, tried to look it up on customize but it says there's nothing matching it... – José María Feb 01 '17 at 08:23
  • It won't show up in customise until after preview-latex is loaded. You might have to open a .Tex file or make a preview first, then customize-variable – Tyler Feb 01 '17 at 12:16
0

In order to see the rendered LaTeX equations scaled

#+BEGIN_SRC emacs-lisp
(setq org-format-latex-options (plist-put org-format-latex-options :scale 1.4))
#+END_SRC

The scale 1.4 is Ok in my setup... try it, and change the number to fit your needs.

Dox
  • 955
  • 10
  • 28