縮排問題

縮排問題

當我將定義環境與枚舉環境結合時,我遇到了縮排問題。這是最小的例子。


\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 之後看到過多的縮排。 在此輸入影像描述

另外,是否可以在定義正文中擺脫斜體樣式?

謝謝你的幫忙。

相關內容