summaryrefslogtreecommitdiff
path: root/tex-conf.el
diff options
context:
space:
mode:
Diffstat (limited to 'tex-conf.el')
-rw-r--r--tex-conf.el10
1 files changed, 9 insertions, 1 deletions
diff --git a/tex-conf.el b/tex-conf.el
index fdd93af..572df6a 100644
--- a/tex-conf.el
+++ b/tex-conf.el
@@ -25,6 +25,7 @@
;;; Code:
+(add-to-list 'load-path "/usr/local/share/emacs/site-lisp/")
(load "auctex.el" nil t t)
(load "preview-latex.el" nil t t)
@@ -77,12 +78,19 @@
;;; Section display
+(load "/usr/local/share/emacs/site-lisp/auctex/font-latex.el" nil t)
+
(setq font-latex-fontify-sectioning 1.3)
-;;; Dollars
+;;; Add a font macro command
(load "/usr/local/share/emacs/site-lisp/auctex/latex.el" nil t)
+(add-to-list 'LaTeX-font-list
+ '(?\C-k "" "" "\\mathfrak{" "}"))
+
+;;; Dollars
+
(setq TeX-electric-math (cons "\\(" "\\)"))
(define-key LaTeX-mode-map (vector ?\ยง) #'durand-insert-escape)