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$$Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
$$…$$ 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.Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis