[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] mathtools style for AUCTeX
From: |
Uwe Brauer |
Subject: |
Re: [AUCTeX-devel] mathtools style for AUCTeX |
Date: |
Mon, 22 Aug 2016 16:43:24 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
> Uwe Brauer <address@hidden> 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