I'm fairly new in LaTeX and using TeXmaker to write my thesis.
My supervisor wants my toc to look like this:
TOC
I TOC..................I
II LOF.................II
III LOT................III
IV List of symbols.....IV
1 Prelude..............1
2 Theoretical part.....3
3 Main part............9
4 Summary.............20
5 Bibliography........22
6 Appendix............25
(page numbers chosen exemplary)
So basically it should have roman numbering for pages and sections including all my lists (except from bib), and arabic numbering for pages and sections including the relevant content of the paper.
I managed to produce this to the point where only the TOF and TOT don't have any section numbering, nor in the TOC, neither on the following pages. The page numbering is fine though.
My question now is: How can I enumerate the LOF, LOT with roman section numbers?
Thanks in advance for any help!
This is my code:
\documentclass[a4paper, 11pt, oneside, bibtotoc, bibtotocnumbered, liststotoc, toctotoc]{scrartcl}
\usepackage[left=2.5cm,right=2cm,bottom=4cm]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage{graphicx, subfig}
\usepackage{fancyhdr}
\usepackage{amsfonts}
\usepackage{amsmath}
\pagestyle{fancy}
\lhead{\leftmark}
\chead{}
\rhead{\thepage}
\lfoot{}
\cfoot{}
\rfoot{}
\renewcommand{\headrulewidth}{0,4pt}
\renewcommand{\footrulewidth}{0pt}
\pagestyle{fancy}
\fancyhf{}
\newcommand{\sectionnumbering}[1]{%
\setcounter{section}{0}%
\renewcommand{\thesection}{\csname #1\endcsname{section}}
}
\begin{document}
\pagestyle{empty}
\section{title}
asdf
\pagenumbering{Roman}
\sectionnumbering{Roman}
\newpage
\section{presec1}
asdf
\newpage
\section{presec2}
asdf
\newpage
\tableofcontents
\newpage
\listoffigures
\newpage
\listoftables
\newpage
\section{list of symbols}
asdf
\pagenumbering{arabic}
\sectionnumbering{arabic}
\newpage
\section{prelude}
asdf
\newpage
\section{theory}
asdf
\newpage
\section{mainpart}
asdf
\newpage
\section{summary}
asdf
\newpage
\section{summary}
asdf
\newpage
\section{appendix}
asdf
\end{document}
Best Answer
To get numbered entries for a LOT, LOF and TOC in TOC with a KOMA-Script class use:
BTW use
\cleardoubleoddpage
before\pagenumbering
. I would replacefancyhdr
byscrlayer-scrpage
that is part of the KOMA-Script bundle.