I have autocomplete successfully working in auctex. It also works for included packages, so if I, for example, have \usepackage{url}
in my preamble, I will get autocompletion while typing \url
.
However, this is not the case for the physics package in latex.
One possible problem I can think of is that this package makes use of xparse
, so there is no \def
or \newcommand
in physics.sty but instead commands like \DeclareDocumentCommand
.
Is there a way to get autocomplete for physics.sty?
TeX-style-path
, you'll find a path that contains Auctex style files likeurl.el
, which has a comment that says "This file adds support for `url.sty'." So it seems like packages need an Auctex style file to work properly. – gsingh2011 Dec 31 '19 at 7:33