Search code examples
emacslatexorg-moderetina-displayretina

Org LaTeX preview is fuzzy on retina displays


I have been using Emacs 24.4 for all my math/scientific notes. org-latex-preview is fantastic for this! But recently, I upgraded to a macbook pro with retina display, and I now see that all my equations in org-mode are... fuzzy. Is there a setting I can change to up-res these?

Here is a screenshot:

enter image description here

Thanks!


Solution

  • A couple of years back, I decided to fix this and wrote a patch to add dvisvgm as a render option for latex previews. While this worked great, I never submitted it (no time or knowledge on how to officially patch org).

    Today, I was thrilled to discover that org-mode v9.0.6, now has this feature!

    To activate, first check that you have dvisvgm on your system. Then update org-mode and add the following line to your init.el file:

    (setq org-preview-latex-default-process 'dvisvgm)
    

    And presto!

    enter image description here