From 5fda10d68b06e938d24803def17df66d9d89c8e2 Mon Sep 17 00:00:00 2001 From: Lucas Sta Maria Date: Thu, 17 Oct 2024 15:54:16 -0400 Subject: [PATCH] fix(emacs): add more `|` symbols for latex Signed-off-by: Lucas Sta Maria --- .emacs.d/include/latexconfig.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.emacs.d/include/latexconfig.el b/.emacs.d/include/latexconfig.el index 55a5927..d0d575d 100644 --- a/.emacs.d/include/latexconfig.el +++ b/.emacs.d/include/latexconfig.el @@ -146,7 +146,8 @@ (?. ("\\cdots" "\\ldots")) (?* ("\\cdot" "\\times")) (?# ("\\mathbb" "\\mathcal")) - (?= ("\\Leftrightarrow" "\\Longleftrightarrow" "\\equiv")))) + (?= ("\\Leftrightarrow" "\\Longleftrightarrow" "\\equiv")) + (?| ("\\mapsto" "\\longmapsto" "\\mid")))) (setq cdlatex-math-modify-alist '((?b "\\mathbb" "\\textbf" t nil nil)