How can I include list of figures, list of tables etc. in the table of content? Additionally I would like to have Roman numerals for the page with the table of contents, list of figures, list of tables AND (!!!) section A. Beginning with section B, I would like to have Arabic numerals as page numbers in the header. How should I modify the code that I have provided? Thanks a lot in advance!
\documentclass[12pt,oneside,a4paper]{article}
\usepackage{amsmath, amssymb, graphicx, pgfplots, tikz, booktabs, tabularx, float, pgfplotstable, fancyhdr}
\allowdisplaybreaks
\usepackage[font=small,labelfont=bf,labelsep=colon]{caption}
\special{papersize=210mm,297mm}
\usepackage[left=40mm, top=30mm, right=20mm, bottom=20mm, headsep=12.5mm, headheight=3mm]{geometry}
\pagestyle{fancy}
\renewcommand{\headrulewidth}{0.0pt}
\lhead{}
\chead{}
\rhead{\makebox[0pt][r]{Title of topic}
\hspace*{1.66667em}
\thepage}
\lfoot{}
\cfoot{}
\rfoot{}
\usepackage{setspace}\onehalfspacing
\setstretch{1.3}
\renewcommand\contentsname{Table of Contents}
\begin{document}
\newpage
\tableofcontents
\newpage
\listoffigures
\newpage
\listoftables
\clearpage
\section*{Section A}
\section{Section B}
\end{document}
\addcontentsline{toc}{section}{Section A}
and similar before each non-numbered section. For LOF, LOT, etc. you can even load the packagetocbibind
which automates that.\pagenumbering{Roman}
before the TOC and then\pagenumbering{arabic}
before the sections start is enough?