视网膜显示屏上的Org LaTeX预览模糊 [英] Org LaTeX preview is fuzzy on retina displays
问题描述
我一直在使用Emacs 24.4编写所有数学/科学笔记. org-latex-preview
太棒了!但是最近,我升级到了具有视网膜显示功能的Macbook Pro,现在我发现所有在组织模式下的方程都是模糊的.有没有可以更改这些设置的设置?
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
作为乳胶预览的渲染选项.尽管效果很好,但我从未提交过(没有时间或知识来正式修补组织).
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
.然后更新组织模式,并将以下行添加到您的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屋!