auctex
[Top][All Lists]
Advanced

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

Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be compl


From: Hongyi Zhao
Subject: Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.
Date: Fri, 10 Dec 2021 08:51:24 +0800

On Fri, Dec 10, 2021 at 8:40 AM Hongyi Zhao <hongyi.zhao@gmail.com> wrote:
>
> On Thu, Dec 9, 2021 at 10:16 PM Arash Esbati <arash@gnu.org> wrote:
> >
> > Hongyi Zhao <hongyi.zhao@gmail.com> writes:
> >
> > > On Ubuntu 20.04.3 LTS, I use the self-compiled git master version of
> > > Emacs and installed AUCTeX, company-math, cdlatex, etc. as a
> > > LaTeX-based document preparation environment.
> > >
> > > But I still found there are some LaTeX commands, such as \boldsymbol
> > > and \hspace, which can't completed automatically when I type some of
> > > their opening characters.
> >
> > I can't tell about the completion package/method you're using.  But
> > \hspace is available in AUCTeX with 'C-c C-m hs<TAB>' incl. query for
> > lengths.
>
> I confirmed this behavior.
>
> >  For \boldsymbol, it works for me when I put point inside a
> > (inline) math environment and type \bol (i.e., $\bol*$ * being point)
> > and hit C-M-i, then I get \boldsymbol.
>
> I got the following completion result while testing your above example:
>
> $\biol$

But I can get \boldsymbol{alpha} completion by the following method
regardless I'm in inline math environment:

M-x LaTeX-math-boldsymbol RET alpha RET



reply via email to

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