3

I have tried using \underset{}{} to get the result on the picture. The result I had with the normal use ofI thought it is because of the equation block and \mathcal{Q}, but it turned out to be the \underset. The equation is within a .tex file which is included in latex preamble, and does not have

\begin{document} \end{document} Can someone help?

enter image description here

EDIT: I did try this:

\begin{equation}\label{4.14}
 \underset{\mathcal{Q} }{argmin} 
\end{equation}

and the result I got is the following: enter image description here I found out that the problem is with \underset as when I do \mathcal{Q} in the equation block it shows the correct letter.

4
  • 2
    you haven't shown what you did, or what error you got. what "turned out to be the \underset " ? Apr 22 '17 at 19:51
  • Welcome to TeX.SX! Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with \documentclass{...} and ending with \end{document}.
    – Dai Bowen
    Apr 22 '17 at 20:07
  • even with the edit you have never explained what the problem is \mathcal{Q} works in underset just as it works in a subscript in the posted answer. Apr 22 '17 at 21:42
  • I thought it implies that the Q under argmax/argmin is not the calligraphic one I wanted. Sorry for the confusion!
    – Nick
    Apr 23 '17 at 13:31
5

Load amsmath package (if not yet) and define on preamble a new operator which takes limit below: \DeclareMathOperator*{\argmin}{argmin} and then inside your math expression use it as \[ x^* = \argmin_{x\in \mathcal{Q}} \phi(x) \] for display or $ x^* = \argmin\limits_{x\in \mathcal{Q}} \phi(x) $ for inline mode.

enter image description here

3
  • …with compliments to your crystal ball!
    – GuM
    Apr 22 '17 at 19:53
  • @GustavoMezzetti, were you going to do the same? Probably.
    – Sigur
    Apr 22 '17 at 19:57
  • 1
    Great, thank you @Sigur! The first solution was the one I was needed!
    – Nick
    Apr 22 '17 at 20:21

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.