diff options
| -rw-r--r-- | jakob.org | 28 |
1 files changed, 28 insertions, 0 deletions
@@ -1620,6 +1620,34 @@ Include syntax highlighting when exporting as HTML. (setq org-html-htmlize-output-type 'css)) #+END_SRC +** LaTeX + +Enable parsing as described in the [[elisp:(info "(AUCTeX) Quick Start")][Quick Start]] AUCTeX manual. + +#+BEGIN_SRC elisp +(use-package tex + :straight auctex + :init + (setq TeX-auto-save t TeX-parse-self t) + (setq-default TeX-master nil) +#+END_SRC + +Use [[PDF][pdf-tools]] to read TeX output. + +#+BEGIN_SRC elisp + :init + (setq TeX-view-program-selection '((output-pdf "PDF Tools"))) +#+END_SRC + +Enable Flyspell and SmartParens, as writing LaTeX involves numerous matching +pairs ($, {, etc). + +#+BEGIN_SRC elisp + :hook + (TeX-mode . flyspell-mode) + (TeX-mode . smartparens-mode)) +#+END_SRC + ** Markdown #+BEGIN_SRC elisp |