インデントの問題

インデントの問題

定義環境と列挙環境を組み合わせるとインデントの問題が発生します。以下に最小限の例を示します。


\documentclass[11pt,a4paper]{amsbook}

\usepackage[utf8]{inputenc}
\usepackage{txfonts}
\usepackage{hyperref}
\usepackage{mathrsfs}
\usepackage{mathdots}
\usepackage{epigraph}
\usepackage{csquotes}
\usepackage{verbatim,enumitem}


\newtheorem{theorem}{Theorem}[section]
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{remark}[theorem]{Remark}
\newtheorem{example}[theorem]{Example}

\theoremstyle{definition}
\makeatletter
\patchcmd\@thm
{\let\thm@indent\indent}{\let\thm@indent\noindent}%
{}{}
\makeatother

\begin{document}
    
    \title{Result}
    
    \begin{definition}\label{linear_representation}
        \begin{enumerate}[label=\roman*), font=\normalfont]
            \item A \textit{linear representation} of $ G $ is a pair $ (V,\rho) $ .
            
        \end{enumerate}
    \end{definition}

\end{document}

次のような出力が得られ、定義 0.1 の後のインデントが過剰であることがわかります。 ここに画像の説明を入力してください

また、定義の本文で斜体スタイルを削除することは可能でしょうか?

ご協力いただきありがとうございます。

関連情報