kks32 / phd-thesis-template

A LaTeX / XeLaTeX / LuaLaTeX PhD thesis template for Cambridge University Engineering Department (CUED)
http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/ThesisStyle/
MIT License
833 stars 400 forks source link

Problem with header while adding Summary (as a chapter without number). #201

Closed sandeep1712 closed 4 years ago

sandeep1712 commented 4 years ago

Hi, Thank you for providing this template. I want to add a Summary of my Ph.D. thesis as a chapter (but without a chapter number) after the "List of tables" and before Chapter 1. I have tried to do this in two ways: first, creating a chapter as "\chapter*{Summary}" and it works, but in the header, I still see "List of tables" and it continues to appear on all the pages till I reach Chapter 1. Later, I have followed the way as done for "acknowledgment", "declaration", but the same problem in the header persists. It would be really great if you could help with this issue. Thank you,

Best,

GR8DAN commented 4 years ago

Hi,

after \listoftables in thesis.tex try:

\newenvironment{mysummary}{
    \cleardoublepage
    \setsinglecolumn
    \chapter*{\centering \Large Summary}
    \markboth{Summary}{Summary}
    \thispagestyle{empty}
    \addcontentsline{toc}{chapter}{Summary}
}

\begin{mysummary}
This is my sumnmary...
\end{mysummary}

If you don't want the Summary to appear in the table of contents remove the \addcontentsline line.

sandeep1712 commented 4 years ago

Thank you! With that it works now