
この問題を回避する方法がわかりません。xpatchを使用せずに、amsthmの証明環境で「Proof」という単語をインデントする必要があります(xpatchについては、ここで説明されています)。amsthmの環境証明で「証明」という単語をインデントする)。
将来的に動作しなくなる可能性があるため、パッチの使用は避けたいと思います。 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}