Theses, Books, Title pages ⇒ How to number the title page i?
-
Themonkey3
- Posts: 1
- Joined: Tue Aug 25, 2015 8:53 pm
How to number the title page i?
I used the excellent thesis template by Vel (http://www.latextemplates.com/template/ ... ral-thesis) and my university requested a minor adjustment before accepting my thesis. For some reason, they want to have the title page added to the TOC as page i.
A solution would be greatly appreciated. I will continue to try to figure it out on my own in the meantime, and if I get a solution, I will post.
Thanks!
Aaron
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
How to number the title page i?
Hm.
Adding an entry to the table of contents is no problem. But ... LaTeX acts quirky here, stability has its disadvantages.
With the old version of the template, you can do
\addcontentsline{toc}{chapter}{Titlepage}, with the new version of the template, you can do \addchaptertocentry{Titlepage}. As you can see, both silently set the entry as a chapter entry. Maybe a part entry would be better? Maybe leaving out an entry for the titlepage in the toc would be best? This is really strange.Now, coming back to the aforementioned problem. It is very very likely that you are working in onesided mode, LaTeX resets the pagenumber to one at the end of the titlepage. So, you got a titlepage with page number 1 (which is not printed) and the next page also gets page number 1. Confusing.
You can savely delete the line
\begin{titlepage} and replace the corresponding end with \clearpage. The titlepage and all subsequent pages are now numbered correctly. If you want to suppress the page number on the titlepage, add \thispagestyle{empty} before the \clearpage.By the way, the updated version of the template prints in two-sided mode by default. LaTeX does not act strange here.