由於某種原因,我的段落不會自動縮排。我的文件如下所示:
\documentclass{article}
\usepackage{fullpage,amsmath,amssymb,amsfonts,mathtools,amsthm,graphicx}
\begin{document}
\newcommand{\N}{\mathbb{N}}
\newcommand{\Z}{\mathbb{Z}}
\newcommand{\Q}{\mathbb{Q}}
\newcommand{\R}{\mathbb{R}}
\renewcommand{\P}{\mathbb{P}}
\newcommand{\T}{\mathbb{T}}
\newcommand{\Rie}{\mathcal{R}}
\newcommand\abs[1]{\left\lvert#1\right\rvert}
\newtheorem{theorem}{Theorem}
\newtheorem{corollary}{Corollary}[theorem]
\newtheorem{lemma}[theorem]{Lemma}
\title{Homework}
\author{My name}
\pagenumbering{gobble}
\maketitle
\begin{enumerate}
\item blahefjieojf
not indenting?
\end{enumerate}
\end{document}
如何讓段落縮排\item
?
答案1
這是預設的,因為有一個非零的\parsep
。從排版上來說,不建議兩者兼具。您可以使用該包輕鬆更改它enumitem
:
\documentclass{article}
\usepackage{fullpage,amsmath,amssymb,amsfonts,mathtools,amsthm,graphicx}
\newcommand{\N}{\mathbb{N}}
\newcommand{\Z}{\mathbb{Z}}
\newcommand{\Q}{\mathbb{Q}}
\newcommand{\R}{\mathbb{R}}
\renewcommand{\P}{\mathbb{P}}
\newcommand{\T}{\mathbb{T}}
\newcommand{\Rie}{\mathcal{R}}
\newcommand\abs[1]{\left\lvert#1\right\rvert}
\newtheorem{theorem}{Theorem}
\newtheorem{corollary}{Corollary}[theorem]
\newtheorem{lemma}[theorem]{Lemma}
\title{Homework}
\author{My name}
\usepackage{enumitem}%
\usepackage{lipsum}%
\begin{document}
\pagenumbering{gobble}
\maketitle
\begin{enumerate}[listparindent=1em, parsep=0pt]
\item blahefjieojf
\lipsum[11]
\end{enumerate}
\begin{enumerate}[resume]
\item blahefjieojf
\lipsum[11]
\end{enumerate}
\end{document}