2

I have problem typing this on the hat of max in the following example:

enter image description here

  • 2
    See Typeset an = with an ! above. Depending on the context, \[ \max_{j=1}^{|B|} ... \] should suffice, since \max is an operator where the limits are set below/above when in display math. – Werner Apr 15 '13 at 20:31
1

For example

\[
\max_{j=1}^{|B|}
\]
3

Following egreg's suggestion, for math operators that are not defined by default, one can use \operatorname*{...}_{...}^{...}. Or, for typesetting math texts that are not math operators, you can also use the \overset (and \underset) command of the AMSmath package:

enter image description here

\documentclass{article}

\usepackage{amsmath}

\begin{document}

\[
  \max_{j=1}^{|B|} 
  \qquad
  \operatorname*{argmax}_{j=1}^{|B|}
\]

\[
  \underset{j=1}{\overset{|B|}{math \; texts \; \mbox{and regular texts in math mode}}}
\]

\end{document}
  • 1
    You can use \operatorname*{maximize}_{j=1}^{|B|} – egreg Apr 15 '13 at 22:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.