Hi all,
when inserting a table environment with 'C-c C-e table RET',
`LaTeX-env-figure' inserts the floating environment 'table' and then
inserts the tabular environment stored in
`LaTeX-default-tabular-environment' (the relevant part starts here[1]).
I like the idea, but
On Sun, Dec 19, 2021 at 10:19 PM Tassilo Horn wrote:
>
> Hongyi Zhao writes:
>
> >> Oh, allright. We would need to provide an :annotation-function in
> >> `completion-extra-properties' which translates, e.g., \alpha to α.
> >
> > Only such a function will do the tick for the predefined
Tassilo Horn writes:
> Or are you asking if that will make that work for all standard AUCTeX
> completion functions. I guess so, although just setting
>
> (setq-local completion-extra-properties
> '(:annotation-function
> (lambda (x) (message "AF: %S" x) "foo")))
Hongyi Zhao writes:
>> Oh, allright. We would need to provide an :annotation-function in
>> `completion-extra-properties' which translates, e.g., \alpha to α.
>
> Only such a function will do the tick for the predefined commands?
I'm not enitrely sure what you are asking. Are you asking if
On Sun, Dec 19, 2021 at 5:18 PM Tassilo Horn wrote:
>
> Hongyi Zhao writes:
>
> >> What do you mean with "the actual characters corresponding to each
> >> command"? Could you give an example/mockup of what you would like to
> >> see in your example screenshot?
> >
> > Similar to the one given
Hongyi Zhao writes:
>> What do you mean with "the actual characters corresponding to each
>> command"? Could you give an example/mockup of what you would like to
>> see in your example screenshot?
>
> Similar to the one given by company-math.
Oh, allright. We would need to provide an
Hongyi Zhao writes:
Hi!
> When I call `TeX-insert-macro' by hitting `C-c RET', the predefined
> LaTeX commands are displayed in the minibuffer, so I can choose from
> them, as shown in the attached file.
>
> It would be better if the actual characters corresponding to each
> command can be