    ;; '(("" "gauss" t)
    ;;   ("" "physics" t) TODO Install this)
    )
+
+  ;; LaTeX previews are too small and usually render to light backgrounds, so
+  ;; this enlargens them and ensures their background (and foreground) match the
+  ;; current theme.
+  (setq-default
+   org-format-latex-options
+   (plist-put org-format-latex-options :scale 1.5)
+   org-format-latex-options
+   (plist-put org-format-latex-options
+              :background (face-attribute (or (cadr (assq 'default face-remapping-alist))
+                                              'default)
+                                          :background nil t)))
 
   (let ((ext-regexp (regexp-opt '("GIF" "JPG" "JPEG" "SVG" "TIF" "TIFF" "BMP" "XPM"
                                   "gif" "jpg" "jpeg" "svg" "tif" "tiff" "bmp" "xpm"))))


(defun +org|hook ()
  "Run everytime `org-mode' is enabled."
  (when (featurep! :feature evil)
    (evil-org-mode +1))
  (visual-line-mode +1)
  (setq line-spacing 1)

   ;; Behavior
   org-catch-invisible-edits 'show
   org-checkbox-hierarchical-statistics nil
   org-enforce-todo-checkbox-dependencies t
   org-completion-use-ido nil ; Use ivy/counsel for refiling
   org-confirm-elisp-link-function nil
   org-default-priority ?C
