TransWikia.com

How to remove indentation for all paragraphs?

TeX - LaTeX Asked on June 16, 2021

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?

One Answer

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.

Correct answer by Werner on June 16, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP