# Re: Placement of indices in 'max'

Hendrik Maryns wrote:
> Dan schreef:
> > Hendrik Maryns wrote:
>
[...]
> >> Every tutorial I have seen talks about
> >>\displaystyle and \textstyle, which is what you need.
> >>
> >>The \limits solution works too, but is unnecessarily complicated.
> >
> >
> > As far as I can see
> > $... \max\limits^n_{i=1} {l_i} ...$
> > is not more complicated than
> > $... \mathop{\displaystyle\max^n_{i=1}}} l_i ...$
> > The grouping is to keep \displaystyle from affecting the rest of the
> > formula, and then \mathop is necessary to make sure the \max is treated
> > as an operator and not an ordinary symbol (which is what braces will
> > convert it to}.
>
> This only applies when there is a rest of the formula, which didn't seem
> to be the case in the OP's post.

But there is: the rest of the formula is "l_i". While that is not
different between text and display math, had it been \frac{1}{l_i}, the
difference would have been significant.

Dan

.