Code: Select all
$$max U(z) such that \Sigma p_i z_i \leq I$$
1st: Between max U(z) and such that should have some whitespace, how to do that?
2nd: I want to add a letter 'z' below max U(z). How to do?
Many thanks in advance!
Code: Select all
$$max U(z) such that \Sigma p_i z_i \leq I$$
$$…$$
but a LaTeX math environment, e.g., \[…\]
or align
(amsmath/mathtools), e.g.,
\documentclass{article} \usepackage{mathtools} \begin{document} \[ \max_z{U(z)} \text{ such that } \Sigma p_i z_i \leq I\]% Perhaps the \Sigma should be a \sum? \end{document}
$$…$$
. See amsldoc.pdf also for handling of limits to \max
or \sum
or alternative math environments.$$…$$
. Please, see the links in my previous answer.