how to set line spacing in latex 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