22 Comments

1. Tom, do you know how I can make the page numbers in an index to be hyperlinks please? I haven’t found any way of doing it online.

• tom

Just use the linktoc=all option when you load the hyperref package.

\documentclass[11pt]{article}
\usepackage[linktoc=all]{hyperref}
\usepackage{blindtext}
\begin{document}
\tableofcontents
\blinddocument
\end{document}
2. I’ve tried it but it didn’t work, FYI this is the relevant part of my file header –

\pagestyle{fancy}
\usepackage[colorlinks=true,linkcolor=blue]{hyperref}
\usepackage[linktoc=all]{hyperref}
\tolerance=1000
\usepackage{imakeidx}
\makeindex[options=-s ./index.ist,columnseprule,intoc]%robustindex % Indexing
\usepackage[backend=biber,style=verbose,style=numeric]{biblatex}

There is no change at all in the index page, unfortunately! 🙁

• tom

You load the hyperref package twice with different options. Use this instead:

\usepackage[linktoc=all,colorlinks=true,linkcolor=blue]{hyperref}

Also, hyperref has to be the last package loaded (exceptions).

Finally, always typeset twice for changes to appear in the TOC.

3. sorted by using

\usepackage[colorlinks=true,linkcolor=blue,linktoc=all,hyperindex=true]{hyperref}
• tom

Great to hear, thanks!

• tom

Hi Micha,

Thanks for the positive feedback! Personally, I’ve never used the titlepage environment, \maketitle has done the job so far. You may want to take a look at the discussion on the topic here to decide what’s your best choice…

Best, Tom

4. Ome

I have really liked the templete. Can you please tell me where should I put the logo if I also want to mention the name of the university in the title page?

• tom

Personally, I’d place the university name right before the year and keep the logo on top. There might be guidelines of your school defining the order.

5. kate

Hi Tom,
Thanks for the template!
It seems that newgeometry does not work with version 4 of the geometry package. Is there another possibility to get the twoside margins?

• tom

Hi Kate,

Interesting question. You could either update your version of geometry, \newgeometry was introduced in version 5, or use the gmeometric package instead.

6. MRLF

Nice, simple, clean template. Thanks for sharing. Unfortunately, when I use this, it adds page numbers (which I do not want) and also includes a blank first page.

I have to use this as my preamble.

If I do not comment out the first line, it does no compile

%\documentclass[12pt, oneside]{book}
%\documentclass{article}
\documentclass{book}

\usepackage{graphicx}
\begin{document}

How can I remove the page numbers and the blank first page.

Thank you!

• tom

Hi there!

To switch pages number off, use:

%Deactivate page numbering:
\pagenumbering{gobble}
%Reactivate again
\pagenumbering{arabic}

% To deactivate header/footer for a single page, e.g. title page
\thispagestyle{empty}
7. Michael G

Hi Tom
Is it possible to have two logos side by side on the cover page (joint phd and both univversities’ logos must appear). Any idea how I can implement this?

• tom

Hi Michael,

Try the minipage environment as shown below. If this doesn’t work, please provide a minimal working example. Thanks, Tom.

\begin{minipage}{0.45\linewidth}
\centering
\includegraphics[width=\textwidth]{logo1}
\end{minipage}
\begin{minipage}{0.45\linewidth}
\centering
\includegraphics[width=\textwidth]{logo2}
\end{minipage}
8. Sanger

Thanks Tom for the Template

9. johannesbottcher

If the titlepage has different margin settings, which is quite often the case, i tend to recommend to include the titlepage as a standalone document with includepdf from pdfpages. A titlepage doesn’t change every few minutes and is quite static. Clompetely avoiding the newgeometry stuff.

• tom

Thanks for your comment. I agree, that’s a neat way of keeping the titlepage separated from the rest of the document. Best, Tom.

• Muhammad Ammar

Sir
Please tell me how to write 4 to 5 authors in title page of a report?

• tom

You can use the author macro as shown in the minimal working example below.

\documentclass[11pt]{report}
\begin{document}
\title{Some Title}
\author{First Author, Second Author, Third Author, and Fourth Author}
\maketitle
\end{document}
10. johannesbottcher

Depending on how you want your complete author section output, there might be better ways. In some cases, it is even more painless to do the titlepage by hand.