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?

  • 9
    \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. – Hawk May 9 '12 at 3:28
  • Maybe indentation helps recognising the paragraphs? – user10274 Nov 10 '16 at 8:47

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.

| improve this answer | |
  • 5
    @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
  • 6
    @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
  • 2
    @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
  • 1
    @PeterGrill it seems the reference I mention above is against the combination of \setlength{\parindent}{0pt} and \setlength{\parskip}{\baselineskip}, because of the side effects of \parskip. It seems \setlength{\parindent}{0pt} in isolation is harmless. If you know more, I would like to hear your thoughts. – Jacob Akkerboom Dec 24 '15 at 9:56
  • 2
    \usepackage{parskip} adds vertical spacing between elements throughout the document. \setlength{\parindent}{0pt} solves it without side-effects. – qubodup May 24 '16 at 20:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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