diff options
| author | tslil clingman <> | 2020-04-13 14:40:38 -0700 |
|---|---|---|
| committer | tslil clingman <> | 2020-04-13 14:40:38 -0700 |
| commit | 24648353e3e2e63e4683aa7021deb87539d6d047 (patch) | |
| tree | 6521e557b0b546fc1197386fdac836bf2ab3c2bf /emacs/inits/24-latex.el | |
| parent | 9f16845044caa0a11f8de97b797bcd753578916f (diff) | |
flyspell->spell-fu and finally fixed exwm last workspace
Diffstat (limited to 'emacs/inits/24-latex.el')
| -rw-r--r-- | emacs/inits/24-latex.el | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/emacs/inits/24-latex.el b/emacs/inits/24-latex.el index aa195fc..9d7d730 100644 --- a/emacs/inits/24-latex.el +++ b/emacs/inits/24-latex.el @@ -1,4 +1,4 @@ -;; Time-stamp: <2020-03-27 15:27:06 (tslil@bison)> +;; Time-stamp: <2020-04-13 13:00:54 (tslil@bison)> (defvar latex-template-dir (expand-file-name "~/academic/typeset/latex-templates")) (defun prompt-latex-file-template () @@ -28,6 +28,8 @@ populated from the directory *latex-template-dir*" (use-package company-auctex :ensure t :defer t) +(use-package unfill :ensure t) + (use-package pdf-tools :demand :ensure t @@ -41,12 +43,12 @@ populated from the directory *latex-template-dir*" :bind (:map LaTeX-mode-map ("'" . better-TeX-insert-single-quote) ("TAB" . LaTeX-indent-line) + ("M-q" . unfill-paragraph) ("C-c C-g" . pdf-sync-forward-search)) :hook (LaTeX-mode . (lambda () (require 'company-auctex) (electric-pair-local-mode -1) - (flyspell-mode) - ;; (turn-on-auto-fill) + (spell-fu-mode) (display-line-numbers-mode) (auto-fill-mode -1) (visual-line-mode) @@ -68,6 +70,8 @@ populated from the directory *latex-template-dir*" TeX-close-quote old-close)))) :config + (setq spell-fu-faces-exclude '(font-latex-math-face)) + (dolist (entry '(("diagram") ("diagram*"))) (push entry LaTeX-indent-environment-list)) (setq TeX-command-list '(("XeLaTeX" "xelatex %t" |
