Use \cleardoublepage
or \frontmatter
/ \mainmatter
to separate the parts. \newpage
alone will confuse latex.
\documentclass{book}
\begin{document}
\frontmatter
\pagenumbering{roman}
first page
\mainmatter%
%\cleardoublepage
\pagenumbering {arabic}
\chapter{blub}
\end{document}
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
\addcontentsline{toc}{chapter}{\contentsname}%
\tableofcontents%
\cleardoublepage
%\phantomsection% if hyperref is used, then \phantomsection
\addcontentsline{toc}{chapter}{\listfigurename}%
\listoffigures%
\cleardoublepage
%\phantomsection% if hyperref is used, then \phantomsection
\addcontentsline{toc}{chapter}{\listtablename}%
\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.
Best Answer
Open
Document | Settings | Latex Preamble
and insertand you should be done.
If you want lower case roman numberals, use
\pagenumbering{roman}