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: Ikumi Keita
Subject: Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.
Date: Fri, 10 Dec 2021 12:10:43 +0900

>>>>> Hongyi Zhao <hongyi.zhao@gmail.com> writes:
>> >  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

Standard LaTeX doesn't provide \boldsymbol, while amsmath does. You will
obtain completion support for \boldsymbol in AUCTeX when you add
\usepackage{amsmath} in the preamble (and enable `TeX-parse-self' option).

Bye,
Ikumi Keita



reply via email to

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