Latex config for emacs: larger equations, syntax highlighting

This commit is contained in:
Random936 2024-02-20 15:07:10 -08:00
parent 3cdb6f7a03
commit 76a28920c7

View File

@ -24,6 +24,8 @@ This installs the org package and creates a setup function to enable/disable cer
org-export-with-toc nil
org-export-with-section-numbers nil
org-export-with-sub-superscripts nil
org-latex-src-block-backend 'listings
org-format-latex-options (plist-put org-format-latex-options :scale 1.3)
;; Org agenda timestamp formatting
org-display-custom-times t
@ -110,6 +112,17 @@ Visual fill column is a package that allows you to center text and add borders t
:hook (org-mode . jm/org-mode-visual-fill))
#+end_src
** Syntax Highlighting in Latex Exports
By default the syntax highlighting for latex/PDF documents exported with Emacs is pretty lackluster. To improve this, I can install the ~engrave-faces~ package.
#+begin_src emacs-lisp
(use-package engrave-faces
:after ox-latex
:config
(setq org-latex-src-block-backend 'engraved))
#+end_src
* Evil Org
By default, many of the org specific keybindings do not feel intuitive when using evil mode. ~evil-org~ is a package that attempts to fix this by rebinding many of the default org keybindings to work better with Evil mode.