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

Zoe*_*owa 19 emacs latex org-mode

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

如何在Org模式下使LaTeX公式更大?

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

感谢您的耐心等待!

Dai*_*rod 29

根据 文件

要么 (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.
Run Code Online (Sandbox Code Playgroud)

快速 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]
Run Code Online (Sandbox Code Playgroud)

例如,要将比例设置为2.0:

(setq org-format-latex-options (plist-put org-format-latex-options :scale 2.0))
Run Code Online (Sandbox Code Playgroud)

  • 不要忘记事先使用((require'org)`。 (3认同)
  • 但这会影响内联和显示方程。有没有办法为内联方程和显示方程设置单独的设置? (2认同)