Take the 2-minute tour ×
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.

I am finding this very inefficient, every time I type up something MiKTeX just indents for me and I have to enclose everything in \noindent{...}.

Is there a quick way of going past this?

share|improve this question
\noindent is a switch, not a macro that takes an argument. Therefore, you don't need the braces. –  Werner May 9 '12 at 3:24
I do...if I don't the next sentence in my document just keeps indenting without my permission. –  jip May 9 '12 at 3:28

1 Answer 1

up vote 16 down vote accepted

If you don't want any indent, anywhere in your document, add \setlength{\parindent}{0pt} in your document preamble. This quick-fix works, but it is better to include the parskip package. It manages the two lengths \parskip and \parindent together:

\usepackage{parskip}% http://ctan.org/pkg/parskip

From the parskip documentation:

Package to be used with any document class at any size. It produces the following Paragraph Layout:

Zero \parindent and non-zero \parskip. The stretchable glue in \parskip helps LaTeX in finding the best place for page breaks.

In addition, the package adjusts the skips between list items. With package option parfill, the package also adjusts \parfillskip to impose a minimum space at the end of the last line of a paragraph.

memoir and KOMA-script classes provide similar functionality.

share|improve this answer
I am new to this game, so \setlength{\parindent}{0pt} works! –  jip May 9 '12 at 3:29
@jak Especially because you are new to this game, you should use Werner's second solution. Use the parskip package, instead of just changing the \parindent length. –  Alan Munn May 9 '12 at 3:30
But I don't understand what the package's difference makes –  jip May 9 '12 at 3:34
@jak: The parskip package does more than just \setlength{\parindent}{0pt}. It also maintains other lengths that "interact with \parindent" (like lists). –  Werner May 9 '12 at 3:39
@jak: "Changing \parindent and \parskip is considered as one of the deadly sins", as per Too much white space before enumerate. –  Peter Grill May 9 '12 at 15:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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