2012-06-30 20 views
13

我發現Org-mode + LaTeX是一個非常棒的工具。我怎樣才能改變公式的規模?目前它對我來說太小了。我知道如何縮放Emacs字體(C-x+),但這對LaTeX公式不起作用。如何在Emacs的org模式下使formule更大?

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

我已經厭倦改變一些參數,但問題仍然存在。

謝謝你的耐心等待!

回答

19

按照 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-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)) 
+0

這是偉大的!非常感謝您的幫助! –

+0

不要忘記提前'(需要'組織')。 –

相關問題