TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just want to cancel the first line indentation in every section paragraph (include the Abstract). Thank you for any kind help.





Here goes the abstract.

\setlength{\parskip} {0.8em}

\section{Test section}
\subsection{Test section}
\subsubsection{Test section}
\paragraph{Test section\\}
This document is for testing.

share|improve this question

marked as duplicate by lockstep, doncherry, mafp, John Wickerson, Claudio Fiandrino Jun 21 '13 at 10:39

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Short tip: select text and click the button marked {} above the textfield to highlight it as code. – Torbjørn T. Jun 21 '13 at 9:40
@TorbjørnT. I'm sorry to forget edit it first. Thank you for your tip! – 周明暘 Jun 21 '13 at 9:41
up vote 2 down vote accepted

Put this line into your preamble in order to set \parindent (the indent length) to zero:


If you want to prevent indentation in a given paragraph, put \noindent at the beginning of this paragraph.

share|improve this answer

Having no indentation and no increased lineskip between paragraphs makes it difficult to see where a paragraph ends. To "reverse" LaTeX' standard behaviour, you can use \usepackage{parskip}.

share|improve this answer
however, parskip.sty is also a post-hoc solution; you really want a class with this arrangement built-in. artikel3 from the ntgclass bundle can do it; koma-script or memoir might help, but their aim is typographic excellence, rather than word-processor hacks like this. – wasteofspace Jun 21 '13 at 10:04
Very true. KOMA-Script takes a bit of configuring until it's back to the "default look", so it may or may not work as a drop-in replacement. – Ulrich Schwarz Jun 21 '13 at 10:15

Not the answer you're looking for? Browse other questions tagged or ask your own question.