![amsthm 및 기사 클래스를 사용하여 정리 내에서 \cite[]{}의 기울임꼴이 아닌 텍스트를 갖는 방법은 무엇입니까?](https://rvso.com/image/476241/amsthm%20%EB%B0%8F%20%EA%B8%B0%EC%82%AC%20%ED%81%B4%EB%9E%98%EC%8A%A4%EB%A5%BC%20%EC%82%AC%EC%9A%A9%ED%95%98%EC%97%AC%20%EC%A0%95%EB%A6%AC%20%EB%82%B4%EC%97%90%EC%84%9C%20%5Ccite%5B%5D%7B%7D%EC%9D%98%20%EA%B8%B0%EC%9A%B8%EC%9E%84%EA%BC%B4%EC%9D%B4%20%EC%95%84%EB%8B%8C%20%ED%85%8D%EC%8A%A4%ED%8A%B8%EB%A5%BC%20%EA%B0%96%EB%8A%94%20%EB%B0%A9%EB%B2%95%EC%9D%80%20%EB%AC%B4%EC%97%87%EC%9E%85%EB%8B%88%EA%B9%8C%3F.png)
tex 파일이 있습니다.
\documentclass[11pt]{amsart}
\usepackage{amssymb,amsthm,enumitem,mathtools,fullpage,microtype}
\usepackage[hypertexnames=false]{hyperref}
\hypersetup{
colorlinks=true,
linkcolor=blue,
filecolor=blue,
urlcolor=red,
citecolor=magenta
}
\usepackage[noabbrev,capitalize,nameinlink]{cleveref}
\usepackage{autonum}
\numberwithin{equation}{section}
\newtheorem{theorem}{Theorem}[section]
\theoremstyle{definition}
\newtheorem{assumption}[theorem]{Assumption}
\newcommand{\RR}{\mathbb{R}}
\newcommand{\TT}{\mathbb{T}}
\setlist{font=\normalfont}
\begin{document}
\section{Introduction}
\begin{assumption} \label{main_assmpt1}
There exist constants $C>0, \alpha \in (0, 1), \beta \in (0, 1)$ such that for $t \in \TT$ and $x, y \in \RR^d$:
\begin{enumerate}[label=(A\arabic*)]
\item $\nu$ has a density $\ell_\nu \in C^\alpha_b (\RR^d)$.
\item $a_t$ is invertible.
\end{enumerate}
\end{assumption}
\begin{theorem}
Let \cref{main_assmpt1} hold.
\begin{enumerate}
\item \cite[Theorem 2.1]{mckean1966class} ...
\end{enumerate}
\end{theorem}
\begin{thebibliography}{10}
\bibitem{mckean1966class}
Henry~P McKean~Jr.
\newblock A class of markov processes associated with nonlinear parabolic
equations.
\newblock {\em Proceedings of the National Academy of Sciences},
56(6):1907--1911, 1966.
\end{thebibliography}
\end{document}
나는 특히 이탤릭체가 아닌 인용된 정리 이름을 좋아합니다:
\documentclass[11pt]{amsart}
에서 로 변경하면 \documentclass[11pt]{article}
원하는 모양이 사라졌습니다.
수업 내에서 이러한 미적 특징을 유지하는 방법을 설명해 주시겠습니까 article
?
답변1
amsart
용도:
\def\@citestyle{\m@th\upshape\mdseries}
\let\citeform\@firstofone
\def\@cite#1#2{{%
\@citestyle[\citeform{#1}\if@tempswa, #2\fi]}}
cites를 명시적으로 설정합니다 \upshape
. 기본 LaTeX cite 명령은 이와 같은 작업을 수행하지 않습니다. \@cite
LaTeX의 기본 정의는 다음과 같습니다.
\def\@cite#1#2{[{#1\if@tempswa , #2\fi}]}
따라서 정리 내에서는 정리 본문 글꼴이 인용에도 사용됩니다. 하지만 다음 코드를 복사하여 유사하게 재정의할 수 있습니다 amsart
.
\documentclass[11pt]{article}
\usepackage{amsthm}
\usepackage{amssymb,enumitem,mathtools,fullpage,microtype}
\usepackage[hypertexnames=false]{hyperref}
\hypersetup{
colorlinks=true,
linkcolor=blue,
filecolor=blue,
urlcolor=red,
citecolor=magenta
}
\usepackage[noabbrev,capitalize,nameinlink]{cleveref}
\usepackage{autonum}
\newcommand{\RR}{\mathbb{R}}
\newcommand{\TT}{\mathbb{T}}
\setlist{font=\normalfont}
\numberwithin{equation}{section}
\newtheorem{theorem}{Theorem}[section]
\theoremstyle{definition}
\newtheorem{assumption}[theorem]{Assumption}
\makeatletter
\def\@citestyle{\m@th\upshape\mdseries}
\let\citeform\@firstofone
\def\@cite#1#2{{%
\@citestyle[\citeform{#1}\if@tempswa, #2\fi]}}
\makeatother
\begin{document}
\section{Introduction}
\begin{assumption} \label{main_assmpt1}
There exist constants $C>0, \alpha \in (0, 1), \beta \in (0, 1)$ such that for $t \in \TT$ and $x, y \in \RR^d$:
\begin{enumerate}[label=(A\arabic*)]
\item $\nu$ has a density $\ell_\nu \in C^\alpha_b (\RR^d)$.
\item $a_t$ is invertible.
\end{enumerate}
\end{assumption}
\begin{theorem}
Let \cref{main_assmpt1} hold.
\begin{enumerate}
\item \cite[Theorem 2.1]{mckean1966class} ...
\end{enumerate}
\end{theorem}
\begin{thebibliography}{10}
\bibitem{mckean1966class}
Henry~P McKean~Jr.
\newblock A class of markov processes associated with nonlinear parabolic
equations.
\newblock {\em Proceedings of the National Academy of Sciences},
56(6):1907--1911, 1966.
\end{thebibliography}
\end{document}
노트:
위의 코드는 실제로 참고문헌을 수동으로 만드는 경우에 작동합니다. 와 같은 패키지를 사용하는 경우
biblatex
인용 형식에 대한 자세한 내용은 해당 패키지의 설명서를 참조하세요. 그리고 그렇습니다. 저는 그러한 패키지를 사용하는 것을 권장합니다. 즉,biblatex
.인용문뿐만 아니라 정리 본문의 나머지 부분에서도 이탤릭체를 사용하지 않으려면
\newtheoremstyle
해당 스타일을 정의하거나 예를 들어 를 사용해야 합니다\theoremstyle{definition}
.예를 들어,
natbib
대신에 다음과 같은 것을 사용할 수 있습니다\bibpunct{\upshape\mdseries[}{]}{,}{n}{}{,}
.natbib
에 대한 자세한 내용은 설명서를 참조하세요\bibpunct
.