TransWikia.com

text under the section title without spacing

TeX - LaTeX Asked by el-musleh on December 22, 2020

I would like to have space 1em to all the text/paragraphs under the section name directly because there is no change even after using parindent. And help is appreciated.

documentclass{article}

%paragraph indentation
setlength{parindent}{1em} 

%paragraph spacing
setlength{parskip}{1em}

begin{document}

section{Test}
This is another paragraph, contains some text to test the paragraph interlining, paragraph indentation and some other features. Also, is easy to see how new paragraphs are defined by simply entering a double blank space.

This is another paragraph, contains some text to test the paragraph interlining, paragraph indentation and some other features. Also, is easy to see how new paragraphs are defined by simply entering a double blank space.

end{document}

The output:

enter image description here

One Answer

If I understood your objective correctly, I believe it can be achieved by loading the indentfirst package.

enter image description here

documentclass{article}
usepackage{indentfirst} % <-- new
setlength{parindent}{1em} 
setlength{parskip}{1em}

begin{document}

section{Test}

This is another paragraph, contains some text to test the paragraph interlining, paragraph indentation and some other features. Also, is easy to see how new paragraphs are defined by simply entering a double blank space.

This is another paragraph, contains some text to test the paragraph interlining, paragraph indentation and some other features. Also, is easy to see how new paragraphs are defined by simply entering a double blank space.

end{document}

Answered by Mico on December 22, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP