
(A1)
ラベルとを(A2)
非イタリックにしたいと思います。私見ですが、これらのラベルが と揃うので、より見た目が良くなると思いAssumption 1.1.
ます。詳しく教えていただき、ありがとうございます。
\documentclass{article}
\usepackage{amssymb,amsthm,amsmath,enumitem}
\numberwithin{equation}{section}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{assumption}[theorem]{Assumption}
\begin{document}
\section{Introduction}
\begin{assumption} We assume that
\begin{enumerate}[label=(A\arabic*)]
\item Statement 1
\item Statement 2
\end{enumerate}
\end{assumption}
\end{document}
答え1
\textnormal{}
または を使用します\normalfont
。
\documentclass{article}
\usepackage{amssymb,amsthm,amsmath,enumitem}
\numberwithin{equation}{section}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{assumption}[theorem]{Assumption}
\begin{document}
\section{Introduction}
\begin{assumption} We assume that
\begin{enumerate}[label=\textnormal{(A\arabic*)}]
\item Statement 1
\item Statement 2
\end{enumerate}
\end{assumption}
\end{document}
グローバル設定の場合は、次のコードを使用します。
\renewcommand{\labelenumi}{\textnormal{(A\theenumi)}}%\labelenumi the first level of enumerate.
ちなみに、仮定については、定理ではなく定義のスタイルを使用する方がよいでしょう。つまり、仮定の内容はイタリック体にしないでください。
答え2
私はグローバルかつ効率的な解決策を見つけましたこれ答え:\setlist{font=\normalfont}
完全なコードは
\documentclass{article}
\usepackage{amssymb,amsthm,amsmath,enumitem}
\numberwithin{equation}{section}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{assumption}[theorem]{Assumption}
\begin{document}
\setlist{font=\normalfont}
\section{Introduction}
\begin{assumption} We assume that
\begin{enumerate}[label=(A\arabic*)]
\item Statement 1
\item Statement 2
\end{enumerate}
\end{assumption}
\end{document}