Org LaTeX 预览在视网膜显示器上很模糊 [英] Org LaTeX preview is fuzzy on retina displays

查看:21
本文介绍了Org LaTeX 预览在视网膜显示器上很模糊的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的所有数学/科学笔记都使用 Emacs 24.4.org-latex-preview 非常适合这个!但最近,我升级到了带有视网膜显示屏的 macbook pro,现在我看到我在 org 模式下的所有方程都是......模糊的.有没有我可以更改这些设置的设置?

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?

这是截图:

谢谢!

推荐答案

几年前,我决定解决这个问题并编写了一个补丁来添加 dvisvgm 作为乳胶预览的渲染选项.虽然这很有效,但我从未提交过(没有时间或知道如何正式修补 org).

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).

今天,我很高兴地发现 org-mode v9.0.6,现在有了这个功能!

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

要激活,首先检查您的系统上是否有 dvisvgm.然后更新 org-mode 并将以下行添加到您的 init.el 文件中:

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-latex-create-formula-image-program 'dvisvgm)

马上!

这篇关于Org LaTeX 预览在视网膜显示器上很模糊的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆