> Uwe Brauer <[email protected]> writes:

   > Thanks for testing!  Indeed, mathtools is very useful if you typeset a
   > lot of maths (something I never had to do).


   > Check this message, near the end:

   > http://lists.gnu.org/archive/html/auctex/2016-08/msg00007.html

   > I also found the way \adjustlimits is inserted is wrong, it used to be:

   >     '("adjustlimits" 4)

   > resulting in \adjustlimits{}{}{}{}

   > In the updated version it is:

   >     '("adjustlimits" t (TeX-arg-literal "_") nil nil (TeX-arg-literal "_") 
nil)

   > resulting in \adjustlimits{}_{}{}_{}.

Right, I did some testing. Now the macro indeed inserts
\adjustlimits{}_{}{}_{} which is according to the manual p.7 correct.

Thanks!


However here is a minimal example

\documentclass[12pt]{article}
\usepackage[fleqn,tbtags]{mathtools}

\begin{document}
%\adjustlimits{}_{}{}_{}
\[
\text{a)} \adjustlimits\lim_{n\to\infty} \max_{p\ge n} \quad
\quad \text{new}\adjustlimits{\lim}_{n\to\infty}{max}_{p\ge n} \text{end}\qquad
\text{b)} \adjustlimits\lim_{n\to\infty} \max_{p^2\ge n} \quad
\text{c)} \adjustlimits\lim_{n\to\infty} \sup_{p^2\ge nK} \quad
\text{d)} \adjustlimits\limsup_{n\to\infty} \max_{p\ge n}
\]
\end{document}


It seems to me that the simple 

\text{a)} \adjustlimits\lim_{n\to\infty} \max_{p\ge n} \quad

Gives the same result. Odd but of course the mathtools authors are the
ones to be blamed here.

Uwe 

_______________________________________________
auctex-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to