I am writing a book with prerequired specified formats.
It's required to have the table of contents with table headers as shown:
I'd like to add this "Page" header next to "Table of Contents"
Also I need to apply the same for list of figures and list of tables :
In brief, I want these stuff to be typed as a real borderless table
This is my sample:
\documentclass[14pt,fleqn]{extbook} % Default font size and left-justified equations
\usepackage{graphicx}
\begin{document}
\tableofcontents % Print the table of contents itself
\listoffigures
\chapter{title1}
\section{subtitle1}
\section{subtitle2}
\section{subtitle3}
\chapter{title2}
\begin{figure}
\centering
\includegraphics[scale=0.4]{photo.jpg}
\caption{what a beautiful flower}
\end{figure}
\chapter{title3}
\begin{figure}
\centering
\includegraphics[scale=0.4]{photo.jpg}
\caption{the same flower}
\end{figure}
\chapter{title4}
\begin{figure}
\centering
\includegraphics[scale=0.4]{photo.jpg}
\caption{the same flower again}
\end{figure}
\end{document}
Best Answer
This solves most of the problem. You can adjust the indentation using tocloft or modifying
\l@chapter
etc. directly.Unfortunately, the easy way to center/reformat the titles for
\tableofcontents
and\listoffigures
also messes up the page headers.