GeneralMinor nuisance: first line of abstract is indented

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
daantje
Posts: 11
Joined: Wed Aug 12, 2009 1:22 pm

Minor nuisance: first line of abstract is indented

Post by daantje »

Hi,

In documents of class article, the first line of the abstract is indented (at least on my computer). I don't think this is right and it is inconsistent with the first lines of other sections, which are not indented.

Do you have that problem? Do you know a fix?

Thanks!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Minor nuisance: first line of abstract is indented

Post by localghost »

Just add the \noindent command right at the beginning of your abstract.

Code: Select all

\documentclass[11pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage[includeheadfoot,margin=2cm]{geometry}
\usepackage{blindtext}

\author{daantje}
\title{Preventing indentation in the \texttt{abstract} environment}
%\date{\today}

\begin{document}
  \maketitle
  \begin{abstract}
    \noindent
    \blindtext
  \end{abstract}

  \blinddocument
\end{document}

Best regards
Thorsten
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Minor nuisance: first line of abstract is indented

Post by gmedina »

daantje wrote:....Do you have that problem? Do you know a fix?...
It's not a problem, it's a feature. Simply add \noindent right before the text in the abstract.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
daantje
Posts: 11
Joined: Wed Aug 12, 2009 1:22 pm

Re: Minor nuisance: first line of abstract is indented

Post by daantje »

Thanks! That was easy.
Post Reply