Unfortunately out of the box LaTeX can't do this, but there's a handy little trick. Right before the \begin{document} put:

\usepackage{amsmath}Then to write the max problem above you can put:

\DeclareMathOperator*{\Max}{Max}

\begin{document}

V(p, y) = \Max_x U(x) : p \cdot x \le y

## 5 comments:

\max (lower case) works out of the box.

The issue with \max is that it doesn't put subscripts underneath it. Suppose I put:

\max_{x,y}

This puts max with the x,y as a subscript to the right. That's not the behaviour I was looking for.

you could try adding

\displaystyle

to the math environment

$\max_x$ will put x to the right.

$$\max_x$$ will put x below.

Just use \displaystyle inside $ $ and before min_ or max_.

For example:

$\displaystyle \min_x$ will produce the wanted result.

Post a Comment