如何在Emacs的org-mode中使公式更大?

时间:2012-06-30 07:14:11

标签: emacs latex org-mode

我发现Org-mode + LaTeX是一个非常好的工具。我怎样才能改变公式的规模?目前它对我来说太小了。我知道如何缩放Emacs字体( C-x + ),但这对LaTeX公式不起作用。

如何在Org-mode中使LaTeX公式更大?

我已经厌倦了改变一些参数,但问题仍然存在。

感谢您的耐心等待!

1 个答案:

答案 0 :(得分:26)

根据 documentation

(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-H v org-format-latex-options RET 给我们:

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