From ce8fb270d7f8107a9452b035f7030cc7fc2c3c4c Mon Sep 17 00:00:00 2001 From: Simon Parri Date: Thu, 16 Oct 2025 11:42:55 -0500 Subject: Emacs/Org: Add mhchem and chemfig to LaTeX packages --- common/.emacs.d/init.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3