summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Parri <simonparri@ganzeria.com>2025-10-16 11:42:55 -0500
committerSimon Parri <simonparri@ganzeria.com>2025-10-16 11:42:55 -0500
commitce8fb270d7f8107a9452b035f7030cc7fc2c3c4c (patch)
tree562f553b79dcde8e69c8783bc07b52f4398791b7
parent1d4f5dea8999e2841ec226dfd0865e9ff3c00064 (diff)
downloaddotfiles-ce8fb270d7f8107a9452b035f7030cc7fc2c3c4c.tar.gz
dotfiles-ce8fb270d7f8107a9452b035f7030cc7fc2c3c4c.zip
Emacs/Org: Add mhchem and chemfig to LaTeX packages
-rw-r--r--common/.emacs.d/init.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/.emacs.d/init.el b/common/.emacs.d/init.el
index 7d68ce0..6b99704 100644
--- a/common/.emacs.d/init.el
+++ b/common/.emacs.d/init.el
@@ -1844,7 +1844,10 @@ environment, to override this check."
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}")
- ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))))
+ ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
+
+ (add-to-list 'org-latex-packages-alist '("" "mhchem"))
+ (add-to-list 'org-latex-packages-alist '("" "chemfig")))
(use-package gnuplot
:ensure t