Freitag, 22. November 2013

emacs preview of texdocument pdflatex (auctex)

Show preview of latex formulas in emacs

1) install auctex with preview

2) add following to your .emacs file


(load "auctex.el" nil t t)
(load "preview-latex.el" nil t t)
(setq preview-gs-options '("-q" "-dNOSAFER" "-dNOPAUSE" "-DNOPLATFONTS" "-dPrinted" "-dTextAlphaBits=4" "-dGraphicsAlphaBits=4"))

3) Compile the preview via:

Ctrl-c p-d

Example:


Keine Kommentare:

Kommentar veröffentlichen