mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-05 12:37:33 -05:00
Key bindings for latex preview
This commit is contained in:
@ -185,7 +185,11 @@ Math faces should stay fixed by the mixed-pitch blacklist, this is mostly for
|
|||||||
(lambda () (* (/ 10.0 (preview-document-pt)) preview-scale)))
|
(lambda () (* (/ 10.0 (preview-document-pt)) preview-scale)))
|
||||||
;; Don't cache preamble, it creates issues with synctex. Let users enable
|
;; Don't cache preamble, it creates issues with synctex. Let users enable
|
||||||
;; caching if they have compilation times that long.
|
;; caching if they have compilation times that long.
|
||||||
(setq preview-auto-cache-preamble nil))
|
(setq preview-auto-cache-preamble nil)
|
||||||
|
(map! :map LaTeX-mode-map
|
||||||
|
:localleader
|
||||||
|
:desc "Preview" "p" #'preview-at-point
|
||||||
|
:desc "Unpreview" "P" #'preview-clearout-at-point))
|
||||||
|
|
||||||
|
|
||||||
(use-package! cdlatex
|
(use-package! cdlatex
|
||||||
|
Reference in New Issue
Block a user