auctex-devel
[Top][All Lists]
Advanced

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

Re: exam new patch to add support for the choice, environment and others


From: Arash Esbati
Subject: Re: exam new patch to add support for the choice, environment and others.
Date: Tue, 21 Jan 2020 22:47:12 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50

Hi Uwe,

Uwe Brauer <address@hidden> writes:

> The following patch adds support for the choice checkbox environment
> etc.
>
> One thing I could not figure out well, in that patch
>
>   \begin{checkboxes}
>     \choice
>            ^cursor
>   \end{checkboxes}
>
> But it should be
>
>   \begin{checkboxes}
>     \choice
>             ^cursor
>   \end{checkboxes}
>
> I tried several things, none worked, maybe someone can fix that before
> applying the patch to master?

The way I see it you get what you're asking for.  exam.el contains:

(TeX-add-symbols
  ...
  '("choice" 0)

If you want a space, you have to change the line 232 to

(TeX-add-symbols
  ...
  '("choice" (TeX-arg-literal " "))

Best, Arash (who didn't test what he wrote)



reply via email to

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