Uwe Brauer <[email protected]> writes:

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

Thanks for testing!  I will see if I upload the new version tomorrow.

> 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.

I haven't looked at the source of mathtools, but the construct

    \adjustlimits\lim_{n\to\infty} \max_{p\ge n}

is valid TeX code since the tokens `\lim' and `\max' become arguments 2
and 4 to \adjustlimits; no grouping is needed here.

It is basically the same as

   \def\x#1{\textbf{#1}}
   \x1 and \x 2 are \x Integers.

Best, Arash

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

Reply via email to