From d38c2222c1285b2c340c0cdf3827d96297ff3075 Mon Sep 17 00:00:00 2001 From: Lucas Sta Maria Date: Fri, 29 Dec 2023 04:38:45 -0500 Subject: [PATCH] fix(emacs): add new math symbol latex keybinds Signed-off-by: Lucas Sta Maria --- .emacs.d/include/latexconfig.el | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.emacs.d/include/latexconfig.el b/.emacs.d/include/latexconfig.el index ad28fad..568cfdc 100644 --- a/.emacs.d/include/latexconfig.el +++ b/.emacs.d/include/latexconfig.el @@ -37,13 +37,21 @@ (setq cdlatex-math-symbol-alist '((?I ("\\int" "\\Im")) + (?L ("\\Lambda" "\\lim")) (?0 ("\\varnothing" "\\emptyset")) (?- ("\\not" "\\neg")) (?+ ("\\cup" "\\cap")) + (?/ ("\\frac")) (?{ ("\\subset" "\\subseteq")) (?} ("\\supset" "\\supseteq")) (?. ("\\cdot" "\\cdots" "\\ldots")) (?# ("\\mathbb" "\\mathcal")))) +(setq cdlatex-math-modify-alist + '((?b "\\mathbb" "\\textbf" t nil nil) + (?B "\\mathbf" "\\textbf" t nil nil) + (?c "\\mathcal" nil t nil nil) + (?t "\\text" nil t nil nil))) + (provide 'latexconfig) ;;; latexconfig.el ends here