Difference between revisions of "Removing auto-indent for all new paragraphs"

From Notes_Wiki
(Created page with "<yambe:breadcrumb>LaTeX|LaTeX</yambe:breadcrumb> =Removing auto-indent for all new paragraphs= If we use documentclass article to write an application or letter then it is ve...")
 
m
 
Line 1: Line 1:
<yambe:breadcrumb>LaTeX|LaTeX</yambe:breadcrumb>
[[Main Page | Home]] > [[LaTeX]] > [[Removing auto-indent for all new paragraphs]]
=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:
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:
Line 13: Line 12:


Learned from http://tex.stackexchange.com/questions/59245/how-to-disable-automatic-indent
Learned from http://tex.stackexchange.com/questions/59245/how-to-disable-automatic-indent
[[Main Page | Home]] > [[LaTeX]] > [[Removing auto-indent for all new paragraphs]]

Latest revision as of 06:05, 18 April 2022

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