I am using the optidef package in writing optimization problems. For example, I am using the following formulation:


\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em

            {\boldsymbol{w},\boldsymbol{\Phi}}    {\| \boldsymbol{w}\|^2 }
            \addConstraint{|(\boldsymbol{h}_r^H \boldsymbol{\Theta} \boldsymbol{G} + \boldsymbol{h}_d^H)\boldsymbol{w}| \geq \gamma \sigma^2} \label{eq:snd}
            \addConstraint{\Phi_n \in \mathcal{F}, \forall n}\label{eq:pha}

and I am getting this:

enter image description here

My question is how to make the word "min" or "max" not in italic mode?

  • 2
    Welcome to the tex.se. You can use \max (i.e. \min). – Sebastiano Jul 13 at 21:27
  • Please post a complete code. This is not the normal result, so there's something else in your code that produces the italic letters – Bernard Jul 13 at 23:44
  • Thank you @Sebastiano Where to use the \max? I do not think it is applicable to optidef environment. – Alice Ayman Jul 14 at 10:28
  • @Bernard Thank you for your reply, I have edited the post and included the complete code. – Alice Ayman Jul 14 at 10:31
  • I've found the culprit: package breqn. Do you really need it? It is not recommended, as it seems to have quite some problems. – Bernard Jul 14 at 10:47

Your Answer

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

Browse other questions tagged or ask your own question.