latex block text avoid large space between words code example
Example 1: latex space between paragraphs and lines
\setlength{\parindent}{4em}
\setlength{\parskip}{1em}
\renewcommand{\baselinestretch}{1.5}
Example 2: spacing lines latex
\usepackage{setspace}
\doublespacing