The numbering of my pdf does not begin with the roman number which, in principle, corresponds to the frontmatter. How could I fix that? This is my MWE:



%%%% center part titles

\setlength{\cftbeforechapskip}{3pt}%espace entre chapitres
\renewcommand{\cftchapleader}{\cftdotfill{\cftdotsep}} % for chapters


% We don’t want chapter and section numbers
\fancyhf{} % sets both header and footer to nothing
\fancyhead[CE]{\textit{A title}} % even pages: chapter title
\fancyhead[CO]{\textit\leftmark} % odd pages: book title

\setlength{\headheight}{15pt} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\title{A title}
\author{A name}

\chapter{A chapter}
\part{How to customize a part section?}
\chapter{Another chapter}


\chapter{A chapter}

  • 1
    Don't you want \frontmatter before \maketitle?
    – egreg
    Jul 14, 2022 at 16:05

1 Answer 1


As @egreg suggested it rightly, the \frontmatter has to be placed before \maketitle.

  • It would be good if you acknowledged the input from @egreg. Jul 14, 2022 at 17:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .