1
0
Fork 0

fix(emacs): add more math keybinds for latex

Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
Lucas Sta Maria 2024-01-22 19:57:00 -05:00
parent 94c2af6553
commit 9463124012
No known key found for this signature in database
GPG key ID: F07FB16A826E3B47

View file

@ -3,6 +3,7 @@
;; Custom configuration for LaTeX editing
;;; Code:
(require 'latex)
(require 'cdlatex)
(defun custom-compile-latex ()
@ -54,7 +55,12 @@
'((?b "\\mathbb" "\\textbf" t nil nil)
(?B "\\mathbf" "\\textbf" t nil nil)
(?c "\\mathcal" nil t nil nil)
(?s "\\sqrt" nil t nil nil)
(?t "\\text" nil t nil nil)))
(setq LaTeX-font-list
(cons (list ?\^U "\\underline{" "}")
LaTeX-font-list))
(provide 'latexconfig)
;;; latexconfig.el ends here