枚举列表后跟普通文本

枚举列表后跟普通文本

我正在尝试的可能不是很常规,但它是这样的:

\documentclass[11pt]{book}
\usepackage{kantlipsum}

\begin{document}

\begin{enumerate}
    \item \kant[1]
normal text
    \item \kant[2]
normal text
    \item \kant[3]
normal text
\end{enumerate}

\end{document}

我想在枚举列表中包含普通文本。例如:

        1. Item no. one with it's own indented text followed by some non indented text
normal non indented text
normal non indented text
normal non indented text
        2. Item no. two with it's own indented text followed by some non indented text
normal non indented text
normal non indented text
normal non indented text

答案1

两种方法...首先是创建normalize环境:

\documentclass[11pt]{book}
\usepackage{kantlipsum}
\newenvironment{normalize}{\leftskip-\leftmargin}{\par}
\begin{document}

\noindent This is my normal left margin.
\begin{enumerate}
    \item \kant[1]
\begin{normalize}
\kant[4]
\end{normalize}
    \item \kant[2]
\begin{normalize}
\kant[4]
\end{normalize}
    \item \kant[3]
\begin{normalize}
\kant[4]
\end{normalize}
\end{enumerate}

\end{document}

在此处输入图片描述

或者,使用resume该包提供的功能enumitem

\documentclass[11pt]{book}
\usepackage{kantlipsum}
\usepackage{enumitem}
\begin{document}

\noindent This is my normal left margin.
\begin{enumerate}
    \item \kant[1]
\end{enumerate}
\kant[4]
\begin{enumerate}[resume]
    \item \kant[2]
\end{enumerate}
\kant[4]
\begin{enumerate}[resume]
    \item \kant[3]
\end{enumerate}
\kant[4]

\end{document}

相关内容