I was documenting my thesis according to the guidelines of my university. I am little bit confused with the spacing units they set. They have used spacing unit of pt, blank space as below:
-Sections must be followed by a blank line (or 18pt)
-subsections should be preceded by two blank lines(42pt) and followed by one blank line(18pt)
-subsubsections should be followed and preceded by a blank line.
The following was the code I used in the preamble to get it as specified above. the document class I am using is book.
Code: Select all
\usepackage[top=3.5cm, bottom=3cm, left=3cm, right=3cm, textwidth = 15cm ]{geometry}
\usepackage{titlesec}
\titleformat{\section}{\normalsize}{\thesection}{1em}{}
\titleformat{\subsection}{\normalsize}{\thesubsection}{1em}{}
\titleformat{\subsubsection}{\normalsize}{\thesubsubsection}{1em}{}
\titlespacing*{\section} {0pt}{18pt}{40pt}
\titlespacing*{\subsection} {0pt}{42pt}{18pt}
\titlespacing*{\subsubsection} {0pt}{18pt}{18pt}