28

can someone one please help to write this formula in latexenter image description here

\begin{equation} 
\max\limits_{{P^{\circ}_t(j)}} E_{t}\sum_{s=0}^{\infty}\zeta^s M_{t,t+s}
\left[P^{\circ}_{t+s}(j)-\mathcal{MC}_{t+s}(j)\righ‌​t]Y_{t+s}(j) 
\end{equation} 
0

1 Answer 1

19

I take it the main issue is the typesetting of the curly braces around the material immediately below "max". Just change

\max_{{P^{\circ}_t(j)}}

to

\max_{\{P^{\circ}_t(j)\}}

Remember that in order to typeset curly braces, you must type \{ and \}, not just { and }.

No need for the \limits directive, by the way.


To fully reproduce the equation shown in the screenshot, you also need to provide \mid t items in two of the subscripts.

enter image description here

\documentclass{article}
\begin{document}
\begin{equation} 
\max_{\{P^{\circ}_t(j)\}} E_{t} \sum_{s=0}^{\infty} \zeta^s M_{t,t+s}
\left[ P^{\circ}_{t+s\mid t}(j) - \mathcal{MC}_{t+s}(j) \right] Y_{t+s\mid t}(j) 
\end{equation} 
\end{document}
5
  • My problem was that everything inside {} was going to the right of max. I do not want {}, so I have only single {} without \{\}. The solution was to include \limits
    – Marcel
    Oct 19, 2020 at 15:07
  • 2
    @Marcel - Were you using \max in inline math mode or in display math mode? In both the OP's use case and in my answer, \max is used in display math mode -- in which case it's not necessary to use \limits. If, in contrast, \max is used inline math mode, then \limits is indeed needed if the objective is to place the argument below "max".
    – Mico
    Oct 19, 2020 at 18:56
  • It was in cases environment inside align environment so I guess inline math mode?
    – Marcel
    Oct 20, 2020 at 1:37
  • @Marcel - Indeed, inside a cases environment \textstyle, aka inline math style, is in use.
    – Mico
    Oct 20, 2020 at 16:04
  • 1
    This answer shows how to use \limits Jan 17, 2021 at 16:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .