diff --git a/emacs/.doom.d/init.el b/emacs/.doom.d/init.el index fbd131d..071a476 100644 --- a/emacs/.doom.d/init.el +++ b/emacs/.doom.d/init.el @@ -193,13 +193,17 @@ ;;literate (default +bindings +smartparens)) +;; Set theme to everforest (add-to-list 'custom-theme-load-path "~/.emacs.d/everforest") (load-theme 'everforest-hard-dark t) +;; Configure font (add-to-list 'default-frame-alist '(font . "FiraCode Nerd Font Mono" )) (set-face-attribute 'default nil :height 120) ;; 12pt +;; Roxy (setq fancy-splash-image (concat doom-user-dir "splash.jpg")) -(add-hook 'org-mode-hook 'org-fragtog-mode) -(add-hook 'org-mode-hook 'org-latex-preview) +;; LaTeX editing +(add-hook 'org-mode-hook 'org-fragtog-mode) ;; automatically expand/preview LaTeX +(add-hook 'org-mode-hook 'org-latex-preview) ;; automatically preview LaTeX on open diff --git a/emacs/.doom.d/packages.el b/emacs/.doom.d/packages.el index 1ccd0e3..4ef477d 100644 --- a/emacs/.doom.d/packages.el +++ b/emacs/.doom.d/packages.el @@ -49,6 +49,7 @@ ;; ...Or *all* packages (NOT RECOMMENDED; will likely break things) ;(unpin! t) +;; Automatically expand/preview LaTeX (package! fragtog :recipe (:host github :repo "io12/org-fragtog"