I'd like some help with the formatting of chapter, section and subsections.

I am using the report document class and I'd like to generate the following chapter, section and subsection formatting in the document.

Each (and only) chapter page should have a 2in top margin. Chapters, Section and Subsection title should have the same font size as text.

Then, the format should be as follows: Capital Roman Numbering for chapters, chapter title should be centered and display only the number dot the title of the chapter, i.e.

I. Introduction

Lower case roman numbering for section also centered and should display Chapter number dot Section Number dot Section title, i.e.

I.i. Section in Introduction chapter

And finally the subsection should not be numbered at all and left justified.

  • Could you give more detail in terms of your 2in requirement for chapter pages? Is that from the top of the text block to the words X. Chapter title?
    – Werner
    May 13, 2016 at 0:08
  • The usual package for this kind of customisation is titlesec.
    – Bernard
    May 13, 2016 at 0:14

1 Answer 1


This is readily achievable using sectsty and some manual adjustments for the \chapter setting:

enter image description here



% http://tex.stackexchange.com/q/59726/5764
\allsectionsfont{\centering\normalsize\bfseries}% All sections are centred/normal size/bold
\subsectionfont{\normalsize\bfseries}% Correct \subsection formatting

\renewcommand{\thechapter}{\Roman{chapter}}% Chapter number formatting
\renewcommand{\thesection}{\thechapter.\roman{section}}% Section number formatting

% http://tex.stackexchange.com/q/42161/5764
\setcounter{secnumdepth}{1}% Only number up to \section

% http://tex.stackexchange.com/q/24439/5764
\renewcommand{\@seccntformat}[1]{\csname the#1\endcsname.~}% Add period after section number in title

% Taken from http://mirrors.ctan.org/macros/latex/contrib/sectsty/sectsty.dtx
  \vspace*{2in}% Formerly \vspace*{50\p@}%
  {\parindent \z@ \raggedright \normalfont
    %\ifnum \c@secnumdepth >\m@ne
    %    \huge\bfseries\SS@chapnumfont{\@chapapp\space \thechapter}%
    %    \par\nobreak
    %    \vskip 20\p@
    %\raggedright \normalfont
    \Huge \bfseries \SS@chaptitlefont {\thechapter.~#1}\par\nobreak
    \vskip 40\p@


\chapter{A chapter}
Some text in this chapter.

\section{A section}
Some text in this section.

\subsection{A subsection}
Some text in this subsection.


The 2" margin for \chapter-pages only is measured from the top of the text block. As such, the regular text block margins relative to the page still remains.

References to other questions relating to the above changes are scattered within the code.

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.