I'm doing my master thesis in LaTex and I use the following code. I face a problem with the Table of Contents, in that its page numbering is arabic.
I tried to switch it with List of Figures , but I faced the same problem with it. I can't make any of them have roman numbers, I tried many things with no success. The numbering sequence looks like "i,ii,iii,iv,v,vi,7,8", where 7-8 is the table and list pages, then the chapter pages normally "1,2,etc".
\documentclass[12pt,a4paper,twoside]{book}
\usepackage[utf8]{inputenc}
\usepackage{amsthm}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{mathtools}
\usepackage[width=150mm,top=25mm,bottom=25mm]{geometry}
\usepackage[Bjornstrup]{fncychap}
\pagestyle{plain}
\usepackage[innercaption]{sidecap}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{textcomp}
\usepackage[arabic,main=english]{babel}
\renewcommand{\baselinestretch}{1.5}
\usepackage{tocloft}
\begin{document}
\nocite{*}
\frontmatter
\savegeometry{Mem}
\newgeometry{top=5in}
\addcontentsline{toc}{chapter}{Acknowledgment}
\centerline{\textsc{Acknowledgment}}
First
\clearpage
\loadgeometry{Mem}
\addcontentsline{toc}{chapter}{Notation}
\centerline{\textsc{Notation:}}
Note
\clearpage
\newgeometry{top=5in}
\addcontentsline{toc}{chapter}{Abstract}
\begin{center}
\Large{\textsc{Abstract}}
\end{center}
Abs
\clearpage
\addcontentsline{toc}{chapter}{Arabic Abstract}
\begin{otherlanguage}{arabic}
\begin{center}
\Large{الملخص}
\end{center}
\begin{center}
\large{وبنيته وبعض البنيات الجزئية فيه.}
\end{center}
\end{otherlanguage}
\clearpage
\newgeometry{top=3in}
\addcontentsline{toc}{chapter}{Foreword}
\begin{center}
\textsc{Foreword}
\end{center}
Fore
\loadgeometry{Mem}
Fore
\clearpage
\tableofcontents \addcontentsline{toc}{chapter}{Table of Contents}
\listoffigures \addcontentsline{toc}{chapter}{List of Figures}
\cleardoublepage
\cleardoublepage
\mainmatter
\newgeometry{top=4in}
\chapter{Preliminaries and Basic Concepts about Algebras}
blah
\bibliography{ref}
\bibliographystyle{acm}
\end{document}
\addcontentsline{toc}{chapter}{Table of Contents}like this is incorrect as it then points to the end of the list, not the start. You might want to have a look at thetocbibindpackage. Though this does not explain your problem – daleif Mar 10 '21 at 09:21\largeand friends does not take any arguments, so after\large{text}the text size is still\large– daleif Mar 10 '21 at 09:24arabic, though I have no solution – daleif Mar 10 '21 at 09:29