禁用Emacs组织模式导出中的下划线到下标 [英] Disabling underscore-to-subscript in Emacs Org-Mode export
问题描述
当通过组织模式(C-c C-e d)导出为PDF时,任何带有下划线的单词都将部分转换为下标。我如何防止这种情况发生?
我发现这篇文章主题:
$ b $但是,我还是无法弄清楚正确的elisp,或者根本没有工作。注意,我不想更改任何全局字体选项。我只想要这个修复程序应用于tex / latex / org-mode。
我也发现这篇文章,虽然它也没有工作:
我可以通过设置以下变量来解决问题:
(setq org-export-with-sub-superscripts nil)
When I export to PDF via org-mode (C-c C-e d), any words with underscores end up being partially converted to subscript. How can I prevent this from happening?
I found this article on the subject:
Disabling Underscore subscript in Emacs Tex Mode
However, I either wasn't able to figure out the correct elisp or it simply didn't work. Note, I don't want to change any global font options. I only want this fix to apply to tex/latex/org-mode.
I also found this post, though it didn't work either:
disable subscript superscript raise/lower?
I was able to solve the issue by setting the following variable:
(setq org-export-with-sub-superscripts nil)
这篇关于禁用Emacs组织模式导出中的下划线到下标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!