
이 문제를 해결하는 방법을 알 수 없습니다. xpatch를 사용하지 않고 amsthm의 증명 환경에서 'Proof'라는 단어를 들여쓰기해야 합니다(xpatch는 여기에 설명되어 있습니다).환경 증명에서 "Proof"라는 단어를 들여쓰기합니다.).
패치는 나중에 작동이 중단될 수 있으므로 사용을 피하고 싶습니다. amsthm 패키지만 사용하여 이 작업을 수행하고 싶습니다.
최소 작업 코드는 다음과 같습니다.
\documentclass[12pt,a4paper]{book}
\usepackage{amsthm}
\usepackage{indentfirst}
\usepackage{lipsum}
\newtheoremstyle{sltheorem}
{2pt} % Space above
{-2pt} % Space below
{\it} % Theorem body font % (default is "\upshape")
{17pt} % Indent amount
{\scshape} % Theorem head font % (default is \mdseries)
{.} % Punctuation after theorem head % default: no punctuation
{ } % Space after theorem head
{Theorem \thetheorem} % Theorem head spec
\theoremstyle{sltheorem}
\newtheorem{theorem}{Theorem}[chapter]
\begin{document}
\chapter{one}
\lipsum[2]
\begin{theorem}
\lipsum[2]
\end{theorem}
\begin{proof}
\lipsum[2]
\end{proof}
\end{document}