logo

How to Remove Indentation in the Entire Document in LaTeX 📂Writing

How to Remove Indentation in the Entire Document in LaTeX

Code

Add \setlength{\parindent}{0pt}.

\documentclass{article}

\begin{document}
Me and my girlies. We gon party til its early. Got me feeling otherworldly tonight. Caught in some traffic. But the radio is blasting. Drop a red light and we'll sing it goodbye.

Ooh. By the morning, feel like magic. I got all I need you know nothing else can beat. The way that I feel when I'm dancing with my girls. Perfect energy yeah we flawless yeah we free. There's no better feeling in the whole wide world.

Tonight. I don't care what's wrong or right. Don't start blowing up my line. I'd care at 11:59. But nothing counts after midnight.
\end{document}

\documentclass{article}
\setlength{\parindent}{0pt} % no indent

\begin{document}
Me and my girlies. We gon party til its early. Got me feeling otherworldly tonight. Caught in some traffic. But the radio is blasting. Drop a red light and we'll sing it goodbye.

Ooh. By the morning, feel like magic. I got all I need you know nothing else can beat. The way that I feel when I'm dancing with my girls. Perfect energy yeah we flawless yeah we free. There's no better feeling in the whole wide world.

Tonight. I don't care what's wrong or right. Don't start blowing up my line. I'd care at 11:59. But nothing counts after midnight.
\end{document}