about summary refs log blame commit diff stats
path: root/.emacs.d/lisp/init-latex.el
blob: 90305a0aedb466d4ea3ae1eaaf5de6e4c97b3d87 (plain) (tree)
1
2
3
4
5
6





                                                                         




























                                                                                              
;;; init-latex.el --- LaTeX Configuration File -*- lexical-binding: t -*-
;;; Commentary:
;; Based on prelude-latex.el
;;; Code:

;; (use-package auctex
;;   :config
;;   (require 'smartparens-latex)
;;   (setq-default TeX-master nil)
;;   (when (eq system-type 'darwin)
;;     (setq TeX-view-program-selection
;;           '((output-dvi "DVI Viewer")
;;             (output-pdf "PDF Viewer")
;;             (output-html "HTML Viewer")))
;;     (setq TeX-view-program-list
;;           '(("DVI Viewer" "open %o")
;;             ("PDF Viewer" "open %o")
;;             ("HTML Viewer" "open %o"))))
;;   :custom
;;   (TeX-auto-save t)
;;   (TeX-parse-qself t)
;;   (TeX-close-quote "")
;;   (TeX-open-quote "")
;;   ;; use pdflatex
;;   (TeX-PDF-mode t)
;;   :hook LaTeX-mode . (lambda ()
;;                        (abbrev-mode +1)
;;                        (turn-on-auto-fill)
;;                        ;; (LaTeX-math-mode (LaTeX-math-mode 1)) ;; alternative to the below
;;                        (turn-on-cdlatex)))
;; 
;; (use-package cdlatex)

(provide 'init-latex)
;;; init-latex.el ends here