1

The paragraphs in Chpaters and Sections have indent. But the first paragraph of the subsection does not have indent.

In the .cls file, it is set as

\setlength{\parindent}{0pt}

And what should I do if I don't want indent in all paragraphs?

Please check the attached figure. Many thanks!

Figure

David Carlisle
  • 757,742
  • 7
    please show an example that demonstrates the problem. The output you show is not generated with \setlength{\parindent}{0pt} if you have set that some code you have not shown has set it back. probably you can add \usepackage{indentfirst} to indent the first paragraph after a section head – David Carlisle Dec 22 '23 at 23:59
  • Thank you for the reply. The figure shown in the question demonstrates that there is no indent only in the first paragraph of the subsection. In addition, I am not familiar with the .cls, as it is from a template. There are some relevant codes: \setlength{\parskip}{2ex plus 0.5ex minus 0.2ex};\setlength{\parindent}{0pt};\setlength{\footskip}{26pt}; – Ruihao Wang Dec 23 '23 at 11:34
  • as I said above the image you show is from a document with non zero parskip so the code fragments you show are not being used. make a small complete example document and post the output generated by the code you post – David Carlisle Dec 23 '23 at 19:55
  • It's impossible to answer this question. You do not identify the document class, and that's where the indents are set. Since different classes define that differently, only by looking at the definitions in the used class will it be possible to do anything but guess. And that doesn't help anybody. – barbara beeton Dec 26 '23 at 19:13

0 Answers0