I am writing a document with different indent (spacing) in all section (0.3in), all subsection (0.8in) and all subsubsection (1.4in).

Only the first line in each paragraphs should be indented but the left margin is not change.






\setmainfont{Times Roman}   





\titlespacing{\subsection}{1.1in}{1.5ex plus .1ex minus .2ex}{1pc}

\titlespacing{\subsubsection}{1.4in}{1.5ex plus .1ex minus .2ex}{1pc}








But This is what I need is


1 Answer 1


One simple solution is change \parindent after \section{}. This can be done automatically redefining \section{}. Example:


% redefining sections

\section{A section}
I am writing a document with different indent (spacing)
in section (0.3in), subsection (0.8in) and subsubsection (1.4in). 

For \subsection and \subsbsection the procedure is exactly the same.

I assumed that you do not need optional arguments in sectioning commands. Otherwise see Renewdefine section with additional argument

Note that paragraphs after a title are not indented by default in English. If you want indent also the firs paragraph, use also the indentfirst package as in the example.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.