I am writing a document whose imports were given by the university with the {memoir} class. My problem is that Latex is showing the pages until the first chapter as roman number and after is showing the numbers as decimals, starting again on page 1.
I've already searched on other posts but I don't have \pagestyle{empty} defined or any other command mentioned. Any help is appreciated!
Thank you!

Here is my configuration:

\documentclass[11pt, a4paper]{memoir} % for a short document
\usepackage[acronym, toc]{glossaries}



\usepackage [vscale=0.76,includehead]{geometry}   
%\geometry{a4paper}                   % ... or a4paper or a5paper or ... 
%\geometry{landscape}                % Activate for for rotated page geometry
%\usepackage[parfill]{parskip}    % Activate to begin paragraphs with an empty line rather than an indent

%===================================== packages
\usepackage{mathptmx} % font = times
\usepackage{helvet} % font sf = helvetica
\def\checkmark{\tikz\fill[scale=0.4](0,.35) -- (.25,0) -- (1,.7) -- (.25,.15) -- cycle;}
%Style des têtes de section, headings, chapitre
%\makeoddfoot{plain}{}{}{} % Pages chapitre. 
%\renewcommand{\leftmark}{\thechapter ---}
\renewcommand{\chaptitlefont}{ \sffamily\bfseries \LARGE}
\renewcommand{\chapnumfont}{ \sffamily\bfseries \LARGE}

% Title page formatting
\newcommand{\optionB} {}

\vfill{}  \large\par\noindent  
\begin{center}\juryB \bigskip\sessionB\end{center}
\begin{center} \large
% =======================End of title page formatting

  • 3
    This is a very common way to paginate a book. If you have been given a template by your universe that does this it is probably totally intentional!
    – pst
    Jul 17, 2021 at 20:06
  • Thank your for your reply pst! Maybe it is, I just thought very weird since I have never pay attention to books like this. Thank you :) Jul 17, 2021 at 20:41
  • 1
    (I have to love my own typo with "universe" for "university" here!) Actually I find this traditional pagination impractical for documents that also are used online, since with a pdf reader you may sometimes be confused when following a page reference.
    – pst
    Jul 17, 2021 at 21:40

1 Answer 1


I have found out by testing and error:

\frontmatter should be commented by doing this we can stop the roman numbers.

\mainmatter should be removed since it will stop the reset to the numbering.

  • 3
    It would have been helpful if original query had noted that the document was using the \frontmatter and \mainmatter directives. Without this crucial bit of information, there was no way for readers to provide a (correct) diagnosis of the situation.
    – Mico
    Jul 17, 2021 at 21:27

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