【发布时间】:2012-06-30 07:14:11
【问题描述】:
我发现 Org-mode + LaTeX 是一个非常棒的工具。如何更改公式的比例?目前它对我来说太小了。我知道如何缩放 Emacs 字体(C-x+),但这不适用于 LaTeX 公式。
如何在 Org 模式下让 LaTeX 公式变大?
修改了一些参数已经很累了,但问题依然存在。
感谢您的耐心等待!
【问题讨论】:
我发现 Org-mode + LaTeX 是一个非常棒的工具。如何更改公式的比例?目前它对我来说太小了。我知道如何缩放 Emacs 字体(C-x+),但这不适用于 LaTeX 公式。
如何在 Org 模式下让 LaTeX 公式变大?
修改了一些参数已经很累了,但问题依然存在。
感谢您的耐心等待!
【问题讨论】:
或(info "(org) Previewing LaTeX fragments")
You can customize the variable `org-format-latex-options' to
influence some aspects of the preview. In particular, the `:scale'
(and for HTML export, `:html-scale') property can be used to
adjust the size of the preview images.
快速
C-hvorg-format-latex-optionsRET
给我们:
org-format-latex-options is a variable defined in `org.el'.
Its value is (:foreground default :background default :scale 1.0 :html-foreground "Black" :html-background "Transparent" :html-scale 1.0 :matchers
("begin" "$1" "$" "$$" "\\(" "\\["))
Documentation:
Options for creating images from LaTeX fragments.
[snip]
:scale a scaling factor for the size of the images, to get more pixels
[snip]
例如,将比例设置为2.0:
(setq org-format-latex-options (plist-put org-format-latex-options :scale 2.0))
【讨论】:
(require 'org)。