I have formatted the titles of chapters, sections etc but I can't get the spacing between their elements equal to each other because as I have seen the command \setlength{\parskip}{10pt} adds to those spaces. Why parskip plays a role in the spacing of the titles? How can I prevent that?




    \Huge \centering \bfseries%






Text here


Under the scope of \centering, \\ issues \par, so the \parskip enters in the way. Just say \setlength{\parskip}{0pt}\centering\bfseries. Since the chapter titles are typeset inside a group, the value of \parskip will be restored for normal text.

Or, better, don't change the standard value of \parskip.

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.