
(A1)
이탤릭체 가 (A2)
아닌 라벨을 갖고 싶습니다 . IMHO, 이 라벨은 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}