如何仅删除第一段的文本缩进?

如何仅删除第一段的文本缩进?

我尝试过的几乎所有模板都对所有段落进行了缩进。如何仅删除第一段之前的空格?

\documentclass[12pt]{amsart}

\usepackage{amsfonts}
\usepackage{amsthm}
\usepackage{amsmath}
\usepackage{amscd}
\usepackage[latin2]{inputenc}
\usepackage{t1enc}
\usepackage[mathscr]{eucal}
\usepackage{indentfirst}
\usepackage{graphicx}
\usepackage{graphics}
\usepackage{pict2e}
\usepackage{epic}
\numberwithin{equation}{section}
\usepackage[margin=2.6cm]{geometry}
\usepackage{epstopdf} 

 \def\numset#1{{\\mathbb #1}}

\theoremstyle{plain}
\newtheorem{Th}{Theorem}[section]
\newtheorem{Lemma}[Th]{Lemma}
\newtheorem{Cor}[Th]{Corollary}
\newtheorem{Prop}[Th]{Proposition}

 \theoremstyle{definition}
\newtheorem{definition}{Definition}[section]
\newtheorem{Conj}[Th]{Conjecture}
\newtheorem{Rem}[Th]{Remark}
\newtheorem{?}[Th]{Problem}
\newtheorem{Ex}[Th]{Example}

\newcommand{\im}{\operatorname{im}}
\newcommand{\Hom}{{\rm{Hom}}}
\newcommand{\diam}{{\rm{diam}}}
\newcommand{\ovl}{\overline}
%\newcommand{\M}{\mathbb{M}}

\begin{document}

\title{example}
\begin{abstract}  a aaaaaaaaaaaaaa aaaaaa aaaaaa aaaaa aaaaaaa aaaaaaaaaaaa aaaaa aaaa aa aaaaaaaaaaaaaaaaaa aaaaaa aaaaa aaaaaaaaaaa aaaaaaaaaa aaaaa aaaaaaa aaaaaaaa aaaaaaaaaaaaaaaa
\end{abstract}

\maketitle 

\section{Prelim} 
I was often using any of the available “lorem ipsum” generators on the web while testing different things in LaTeX until I discovered that the Latex distribution provides packages generating blind text, which is definitely more convenient. With just a few lines of code, these packages will generate paragraphes, even whole documents with sections, paragraphs of text, lists, etc.

The first package that I will introduce is the “blindtext” package. First the language option as well as the package have to be loaded. Make sure you get the order right, otherwise your text might appear in latin by default.
\medskip

\section*{Reference}

\end{document}

答案1

(创建社区维基帖子以将答案移出评论。)

默认情况下,LaTeX 不会缩进章节等的第一段。这可以通过某些特定于语言的样式(使用巴别塔包裹),或者通过加载indentfirst包,就像您在这里所做的那样。

因此,如果您不想缩进第一段,请不要加载该indentfirst包:删除此行:

\usepackage{indentfirst}

相关内容