On Mon, May 01, 2023 at 10:08:44PM +0800, Hongyi Zhao wrote: [...] > I changed to the following setting and the problem discussed here has > been fixed: > > (use-package company-math > :hook > ;; This will enable the company-math backend for LaTeX mode > (LaTeX-mode . (lambda () > (setq-local company-backends > (append '((company-math-symbols-latex company-latex-commands)) > company-backends)))) > ) Glad you found it :) Cheers -- t