[Top][All Lists]

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

Re: [AUCTeX-devel] New entry in amsmath.el

From: Arash Esbati
Subject: Re: [AUCTeX-devel] New entry in amsmath.el
Date: Sun, 20 Oct 2019 13:31:49 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50

Hi Keita,

Ikumi Keita <address@hidden> writes:

>>>>>> Arash Esbati <address@hidden> writes:
>> Ok, I pushed a change to AUCTeX repo acc. to this.
> Thanks for your time.  I tried the new entry for \overunderset in
> amsmath.el, but it seems wrong to me with a minimal sample like this.
> \documentclass{article}
> \usepackage{amsmath}
> \begin{document}
> \(\overunderset{above}{i=below}{\prod}\)
> \end{document}
> Isn't the right entry like this?
> diff --git a/style/amsmath.el b/style/amsmath.el
> index 65aed4e2..2c06380b 100644
> --- a/style/amsmath.el
> +++ b/style/amsmath.el
> @@ -65,7 +65,7 @@
>      '("xrightarrow" ["Below"] "Above")
>      '("overset" "Accent symbol" "Symbol")
>      '("underset" "Accent symbol" "Symbol")
> -    '("overunderset" "Accent symbol" "Symbol below" "Symbol")
> +    '("overunderset" "Symbol above" "Symbol below" "Accent symbol")
>      '("dfrac" 2)
>      '("tfrac" 2)
>      '("binom" 2)

Thanks for checking.  I think the confusing issue here `Accent symbol'
vs. `Accented symbol'.  Take for instance the entry for `overset'.  The
first argument is the `Accent symbol' and the second one would be the
accented one.  Looking at the diff above, I think we should just change
the entries to:

      '("overset" "Above symbol" "Symbol")
      '("underset" "Below symbol" "Symbol")
      '("overunderset" "Above symbol" "Below symbol" "Symbol")

WDYT, does it make sense?

> (The order of the arguments is different from \overset and \underset...
> I wonder why amsmath developer chose such confusing order.)

I'm not sure if I understand this comment.  This code looks consistent
to me:



  \overset{*}{ABC} \quad
  \underset{-}{ABC} \quad
  \overset{*}{ABC} \quad
  \underset{-}{ABC} \quad


PNG image

Best, Arash

reply via email to

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