如何在列表中的标签下换行文字

如何在列表中的标签下换行文字

我有以下列表

\section{Basic Notions and Definitions}
 Most of the material in this section is standard and is intended to provide 
 background information.
\begin{enumerate}[font=\bfseries,label=\thesection.\arabic*]
   \item Throughout, $R$ will stand for a noncommutative and associative ring with 
    identity and all rings considered as such. Our modules are unitary right modules 
    unless otherwise specified. Also, the letters $\mathbb{N}$, $\mathbb{Z}$, 
    $\mathbb{Z}_n$, and $\mathbb{Q}$ are used for the set of natural numbers, the 
    ring of integers, the ring of integers modulo $n$ ($n$ is a positive integer 
    greater than $1$), and the field of rational numbers, respectively. For given 
    subsets $A$ and $B$ of a set $X$, $A\setminus B = \lbrace x\in A \mid x\not\in B 
    \rbrace$, and we use $|X|$ to denote the cardinal number of $X$.
 \end{enumerate} 

其结果如下图所示 在此处输入图片描述

我有两个问题:

  1. 如何将文本换行到标签下(1.1.11.1.2等等)的列表?
  2. 如何将列表中的所有标签缩进到节号之下?换句话说,我不希望任何标签位于节号之前1.1部分。该参数能leftmargin解决这个问题吗?
  3. 如何开始新的一行在同一项目中带有左缩进(像往常一样)但没有产生不必要的垂直间距?

答案1

我的建议是设置选项wide=0pt

在此处输入图片描述

\documentclass{report} % or some other suitable document class
\usepackage[T1]{fontenc}
\usepackage{amssymb,enumitem}

\begin{document}

\setcounter{chapter}{1} % just for this example
\section{Basic Notions and Definitions}

Most of the material in this section is standard and is intended to 
provide background information.

\begin{enumerate}[font=\bfseries, label=\thesection.\arabic*, wide=0pt]

\item Throughout, $R$ will stand for a noncommutative and associative 
ring with identity and all rings considered as such. Our modules are 
unitary right modules unless otherwise specified. Also, the letters $
\mathbb{N}$, $\mathbb{Z}$, $\mathbb{Z}_n$, and $\mathbb{Q}$ are used for 
the set of natural numbers, the ring of integers, the ring of integers 
modulo $n$ ($n$ is a positive integer greater than $1$), and the field of 
rational numbers, respectively. For given subsets $A$ and $B$ of a set 
$X$, $A\setminus B = \lbrace x\in A \mid x\not\in B\rbrace$, and we use 
$|X|$ to denote the cardinal number of $X$.

\end{enumerate} 

\end{document}

相关内容