I use Lyx 2.1, document class : report. I want the pages table of contents, list of figures and list of tables etc. be numbered with roman numerals. I put this tag before the table of Contents :

\pagenumbering{Roman}


and this tag before the general introduction :

\cleardoublepage\pagenumbering{arabic}


The problem for Roman numerals, only the 1st page Table of Contents is numbered. I want the other pages will be numbered as (the 2nd page table of contents and list of figures etc).

\documentclass{report}

\usepackage{setspace}
\begin{document}
\begin{onehalfspace}
\pagenumbering{roman}\tableofcontents{}

\listoffigures

\end{onehalfspace}

\listoftables

\pagenumbering{arabic}

\chapter*{\noun{Inroduction générale}\setcounter{page}{1}}

\end{document} % was missing

• Roman or roman numerals? Jun 22, 2014 at 14:50
• Writing \frontmatter before the table of contents and \mainmatter before the main text should do the trick (not sure for the report class. If it doesn't work (it does with the book class), you can locally change the page style. Jun 22, 2014 at 15:18
• @Bernard \frontmatter and \mainmatter isn't defined in report. Jun 22, 2014 at 16:17
• LyX has nothing to do with this
– leo
Jun 22, 2014 at 16:57
• Please edit your question to include new code like that, don't add it in comments. (And I really would appreciate complete examples, starting with \documentclass, ending with \end{document}. But remove most of the text of course, only the \chapter/\section headings is important here, I guess.) Jun 23, 2014 at 11:27

If the standard setup is applied, no empty second page of the ToC should appear, regardless whether \tableofcontents, \listoffigures etc. is used.

I have used a loop to generate dummy chapters, dummy figures and dummy tables just in order to fill up the corresponding list of something (;-)) and removed the \thispagestyle{empty} used directly after \tableofcontents by the OP.

Basically, Torbjorn T. changed already the code sample in the OP to a working one ;-)

**Edited version, with list of figures and list of tables also in the toc

\documentclass{report}

\usepackage{setspace}%

\usepackage[demo]{graphicx}%
\usepackage{forloop}  % Only for quick chapters ;-)

%\usepackage{hyperref}%

\newcounter{loopcounter}

\begin{document}

\pagenumbering{roman}%
\begin{onehalfspace}%
%\phantomsection% if hyperref is used, then \phantomsection
\tableofcontents%
\cleardoublepage
%\phantomsection% if hyperref is used, then \phantomsection
\listoffigures%
\cleardoublepage
%\phantomsection% if hyperref is used, then \phantomsection
\listoftables%

\end{onehalfspace}%
\clearpage

% Just a proof that \pagenumbering{arabic} resets the page counter
\setcounter{page}{100}

\pagenumbering{arabic}

\forloop{loopcounter}{1}{\number\value{loopcounter} < 21}{%

\chapter{Chapter \number\value{loopcounter}}

\begin{table}
\centering
\begin{tabular}{lll}
\hline
1  & 2 & 3 \tabularnewline
\hline
\end{tabular}
\caption{Dummy table}
\end{table}

\begin{figure}%
\centering
\includegraphics[width=5cm,height=4cm]{somefig}%
\caption{Dummy figure}
\end{figure}%

}

\end{document}


Editorial note I kept the screenshot, since nothing visually changed for that part of the document.

• @GoldRay: Well, that's sad but perhaps you should post a small document exactly reproducing your problem. Otherwise users here can only guess what goes wrong... Just a small MWE ;-)
– user31729
Jun 22, 2014 at 18:27

Define your own \frontmatter and \mainmatter in the preamble. For LyX Document->Preferences->Preamble:

\documentclass{report}
\newcommand\frontmatter{\cleardoublepage\pagenumbering{roman}}
\newcommand\mainmatter{\cleardoublepage\pagenumbering{arabic}}
\usepackage{setspace}
\usepackage{blindtext}

\begin{document}
\onehalfspacing
\frontmatter
\tableofcontents
\cleardoublepage
\listoffigures

\cleardoublepage
\listoftables

\mainmatter
\singlespacing

\chapter*{Inroduction générale}
\Blinddocument
\begin{figure}
foo\caption{bar}
\end{figure}
\begin{table}
foo\caption{bar}
\end{table}
\end{document}