I noticed that it is necessary to run (font-latex-update-sectioning-faces)
if I load a theme like doom-themes.

Currently I'm updating the faces in LaTeX-mode-hook which works fine.
But it seems unnecessary to update the faces each time I load a .tex file.
Is there a better (recommended) place where to run
(font-latex-update-sectioning-faces)?

Here is a file "start.el". Run it with "emacs -Q -l start.el":

(package-initialize)
(use-package doom-themes
  :config (load-theme 'doom-nova t))
(use-package auctex
  :custom (font-latex-fontify-sectioning 2.0)
  ;; :hook (LaTeX-mode . (lambda () (font-latex-update-sectioning-faces)))
  )


Best regards
Andreas

Reply via email to