init-latex.el 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. ;;; init-latex.el --- LaTeX Configuration File -*- lexical-binding: t -*-
  2. ;;; Commentary:
  3. ;; Based on prelude-latex.el
  4. ;;; Code:
  5. ;; (use-package auctex
  6. ;; :config
  7. ;; (require 'smartparens-latex)
  8. ;; (setq-default TeX-master nil)
  9. ;; (when (eq system-type 'darwin)
  10. ;; (setq TeX-view-program-selection
  11. ;; '((output-dvi "DVI Viewer")
  12. ;; (output-pdf "PDF Viewer")
  13. ;; (output-html "HTML Viewer")))
  14. ;; (setq TeX-view-program-list
  15. ;; '(("DVI Viewer" "open %o")
  16. ;; ("PDF Viewer" "open %o")
  17. ;; ("HTML Viewer" "open %o"))))
  18. ;; :custom
  19. ;; (TeX-auto-save t)
  20. ;; (TeX-parse-qself t)
  21. ;; (TeX-close-quote "")
  22. ;; (TeX-open-quote "")
  23. ;; ;; use pdflatex
  24. ;; (TeX-PDF-mode t)
  25. ;; :hook LaTeX-mode . (lambda ()
  26. ;; (abbrev-mode +1)
  27. ;; (turn-on-auto-fill)
  28. ;; ;; (LaTeX-math-mode (LaTeX-math-mode 1)) ;; alternative to the below
  29. ;; (turn-on-cdlatex)))
  30. ;;
  31. ;; (use-package cdlatex)
  32. (provide 'init-latex)
  33. ;;; init-latex.el ends here