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?
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?
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
\parindentand non-zero\parskip. The stretchable glue in\parskiphelps 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\parfillskipto impose a minimum space at the end of the last line of a paragraph.
memoir and KOMA-script classes provide similar functionality.
parskip package, instead of just changing the \parindent length.
– Alan Munn
May 09 '12 at 03:30
parskip package does more than just \setlength{\parindent}{0pt}. It also maintains other lengths that "interact with \parindent" (like lists).
– Werner
May 09 '12 at 03:39
\parindent and \parskip is considered as one
of the deadly sins", as per Too much white space before enumerate.
– Peter Grill
May 09 '12 at 15:26
\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 09:56
\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
parskip adds "..non-zero \parskip. The stretchable glue in \parskip helps LaTeX in finding the best place for page breaks." If you're using something like \raggedbottom in your document, go with \setlength{\parskip}{0pt}, otherwise (with something like \flushbottom) you might run into underful \vbox issues.
– Werner
May 24 '16 at 20:38
parskip causes some weird behavior in some cases. https://tex.stackexchange.com/questions/446195/parskip-package-causing-some-problems-in-parbox-itemize-content
– user32882
Aug 15 '18 at 19:36
\noindentis a switch, not a macro that takes an argument. Therefore, you don't need the braces. – Werner May 09 '12 at 03:24