From a6944f3a8a03550c5a874fa521724314ea5a8f8e Mon Sep 17 00:00:00 2001 From: Lucas Sta Maria Date: Wed, 31 Jan 2024 14:54:10 -0500 Subject: [PATCH] fix(emacs): update latex math symbols Signed-off-by: Lucas Sta Maria --- .emacs.d/include/latexconfig.el | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/.emacs.d/include/latexconfig.el b/.emacs.d/include/latexconfig.el index 4622e1e..ed558bd 100644 --- a/.emacs.d/include/latexconfig.el +++ b/.emacs.d/include/latexconfig.el @@ -54,17 +54,18 @@ (add-hook 'LaTeX-mode-hook #'configure-latex) (setq cdlatex-math-symbol-alist - '((?I ("\\int" "\\Im")) - (?L ("\\Lambda" "\\lim")) - (?S ("\\Sigma" "\\sum")) - (?0 ("\\varnothing" "\\emptyset")) - (?- ("\\not" "\\neg")) - (?+ ("\\cup" "\\cap")) - (?/ ("\\frac")) - (?{ ("\\subset" "\\subseteq")) - (?} ("\\supset" "\\supseteq")) - (?. ("\\cdot" "\\cdots" "\\ldots")) - (?# ("\\mathbb" "\\mathcal")))) + '((?I ("\\int" "\\Im")) + (?L ("\\Lambda" "\\lim")) + (?S ("\\Sigma" "\\sum")) + (?m ("\\mu" "\\mod")) + (?0 ("\\varnothing" "\\emptyset")) + (?- ("\\not" "\\neg")) + (?+ ("\\cup" "\\cap")) + (?{ ("\\subset" "\\subseteq")) + (?} ("\\supset" "\\supseteq")) + (?. ("\\cdot" "\\cdots" "\\ldots")) + (?# ("\\mathbb" "\\mathcal")) + (?= ("\\Leftrightarrow" "\\Longleftrightarrow" "\\cong")))) (setq cdlatex-math-modify-alist '((?b "\\mathbb" "\\textbf" t nil nil)