我在编写优化问题时使用了 optidef 包。例如,我使用以下公式:
\documentclass{ieeeaccess}
\usepackage{cite}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{algorithmic}
\usepackage{graphicx}
\usepackage{textcomp}
\newcommand{\mbf}[1]{\boldsymbol{#1}}
\usepackage{afterpage}
\usepackage{verbatim}
\usepackage{psfrag}
\usepackage{times}
\usepackage{wrapfig}
\usepackage{multirow}
\usepackage{setspace}
\usepackage{epsfig}
\usepackage{epstopdf}
\usepackage{footmisc}
\usepackage{fmtcount}
\usepackage{stackrel}
\usepackage{float}
\usepackage{breqn}
\usepackage{enumerate}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{hypcap}
\usepackage[ruled,vlined,linesnumbered]{algorithm2e}
\usepackage[normalem]{ulem}
\usepackage{authblk}
\usepackage{array}
\usepackage{tabularx}
\usepackage{bbm}
\usepackage{array}
\usepackage{mathtools}
\usepackage[short]{optidef}
\newcolumntype{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\makeatletter
\newcommand\semiHuge{\@setfontsize\semiHuge{23}{28}}
\makeatother
\usepackage{indentfirst}
\newcommand{\red}[1]{\textcolor{red}{#1}}
\newcommand{\blue}[1]{\textcolor{blue}{#1}}
\newcommand{\green}[1]{\textcolor{green}{#1}}
\DeclareMathOperator*{\E}{\mathbb{E}}
\DeclareMathOperator*{\1}{\mathbbmss{1}}
\renewcommand{\vec}[1]{\boldsymbol{#1}}
\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
\begin{document}
\begin{mini!}
{\boldsymbol{w},\boldsymbol{\Phi}} {\| \boldsymbol{w}\|^2 }
{\label{eq:minp}}{}
\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}
\end{mini!}
\end{document}
我得到了这个:
我的问题是如何使单词“min”或“max”不处于斜体模式?