fix(emacs): add more math keybinds for latex
Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
parent
94c2af6553
commit
9463124012
1 changed files with 6 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
||||||
;; Custom configuration for LaTeX editing
|
;; Custom configuration for LaTeX editing
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
|
(require 'latex)
|
||||||
(require 'cdlatex)
|
(require 'cdlatex)
|
||||||
|
|
||||||
(defun custom-compile-latex ()
|
(defun custom-compile-latex ()
|
||||||
|
@ -54,7 +55,12 @@
|
||||||
'((?b "\\mathbb" "\\textbf" t nil nil)
|
'((?b "\\mathbb" "\\textbf" t nil nil)
|
||||||
(?B "\\mathbf" "\\textbf" t nil nil)
|
(?B "\\mathbf" "\\textbf" t nil nil)
|
||||||
(?c "\\mathcal" nil t nil nil)
|
(?c "\\mathcal" nil t nil nil)
|
||||||
|
(?s "\\sqrt" nil t nil nil)
|
||||||
(?t "\\text" nil t nil nil)))
|
(?t "\\text" nil t nil nil)))
|
||||||
|
|
||||||
|
(setq LaTeX-font-list
|
||||||
|
(cons (list ?\^U "\\underline{" "}")
|
||||||
|
LaTeX-font-list))
|
||||||
|
|
||||||
(provide 'latexconfig)
|
(provide 'latexconfig)
|
||||||
;;; latexconfig.el ends here
|
;;; latexconfig.el ends here
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue