auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LaTeX commands and packages names autocomplete.


From: Arash Esbati
Subject: Re: LaTeX commands and packages names autocomplete.
Date: Tue, 02 May 2023 07:30:36 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Hongyi Zhao <hongyi.zhao@gmail.com> writes:

> My current configuration:
>
> (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))))
>   )
>
> See the attached file for the results returned using your example.

I think you need none of company-math-symbols-latex and
company-latex-commands, AUCTeX offers already a Capf for both of them,
so comment out that part and start company without any additions in your
.tex file.

> What's your corfu configuration?

(setq tab-always-indent 'complete)
(setq corfu-auto t)
(global-corfu-mode)

Best, Arash



reply via email to

[Prev in Thread] Current Thread [Next in Thread]