Removing auto-indent for all new paragraphs

From Notes_Wiki

Home > LaTeX > Removing auto-indent for all new paragraphs

If we use documentclass article to write an application or letter then it is very irritating to write \noindent after every \\ to remove unnecessary indentation. This can be done automatically using:

\newlength\tindent
\setlength{\tindent}{\parindent}
\setlength{\parindent}{0pt}
\renewcommand{\indent}{\hspace*{\tindent}}

After this by default there would be no indentation for new paragraphs. However if indentation is desired then corresponding paragraph can be preceeded with \indent command.

Learned from http://tex.stackexchange.com/questions/59245/how-to-disable-automatic-indent



Home > LaTeX > Removing auto-indent for all new paragraphs