I would like to insert a page before each chapter with the tile of the chapter.
How we can accomplish this in latex…?
The structure of my latex document is as below:
documentclass[a4paper,11pt]{report}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{amsmath,graphicx,color,algorithm,float,caption,mathtools}
\usepackage{url,rotating,multirow}
\usepackage{algpseudocode,pdfpages}
\usepackage[normalem]{ulem}
\usepackage{breqn}
\DeclarePairedDelimiter{\ceil}{\lceil}{\rceil}
\usepackage{lipsum}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[HL]{\leftmark}
\fancyfoot[C] {\thepage}
\renewcommand{\headrulewidth}{1pt}
\begin{document}
\cleardoublepage
\pagenumbering{gobble}
\includepdf[pages={-}]{certificate/certi.pdf}
\tableofcontents
\listoffigures
\listoftables
\cleardoublepage
\pagenumbering{arabic}
\include{abstract/abstract}
\include{introduction/intro}
\include{survey/survey}
\include{chapter1/chapter1}
\include{chapter2/chapter2}
\include{chapter3/chapter3}
\include{chapter4/chapter4}
\include{chapter5/chapter5}
\include{results/results}
\include{conclusion/conclusion}
%references will go here
\renewcommand{\bibname}{References}
\bibliographystyle{plain}
\bibliography{References/references}
\end{document}
I want a page before each chapter starts consisting the title of the chapter…For example, if the chapter one named "Some Chapter Name" is starting from page number 10, then I would like to insert a page before page number 10 having the text " Chapter 1 Some Chapter Name
Best Answer
Redefine the chapter command to execute some start code before, in its easyiest form, you have to use a
clearpage
before, using the old pagestyle, then use plain pagestyle and add the page code, afterwards switch back to old fancy pagestyle.Since there are
\chapter[]{}
and\chapter{}
forms of the\chapter
command, both have to be catched.