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: Mon, 01 May 2023 18:19:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

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

> I commented out the `company-fuzzy` and `company-math` packages, now
> it works.
>
> But I really want to have the feature provided by `company-math`, and
> it seems that my following configuration seems to be both chaotic and
> problematic:
> [...]
> If anyone has experience about how to configure and use this package
> better, I will be very grateful.

I have no idea about company-math, but AUCTeX offers in-buffer
completion for (La)TeX macros and math symbols; you could try that.  A
simple example looks like this for me:

PNG image

The example is with corfu and not with company.  The Capf provided by
AUCTeX is aware of math mode and doesn't offer math symbols outside math
environments.  Since AUCTeX adds its Capf to standard Emacs machinery,
it should also work with standard company backends.

Best, Arash

reply via email to

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