Goals: I would like to have the title, author, date, and the table of content on the same page. I also want the capability of being able to have a footnote to the author.
What I have done so far: I came up with the following hack. It works except for the footnote. (This is my first ever hack and therefore, it is probably pretty amateurish, may be something I should not be doing in the first place.)
I am open to any other method as long as I can achieve the stated goals with hyperref
working. (It would be also nice if I can have control over the fonts used.)
\documentclass[12pt]{report}
\usepackage{lipsum}
\usepackage[T1]{fontenc}
\usepackage[ocgcolorlinks, hypertexnames]{hyperref}
\makeatletter
\renewcommand{\tableofcontents}[1]{%
\begin{center}%
\renewcommand\thefootnote{\@fnsymbol\c@footnote}%
\let \footnote \thanks
{\huge\bfseries \@title \par}%
\vskip 2em%
{\large
\lineskip .75em%
\begin{tabular}[t]{c}%
{\bfseries \@author}
\end{tabular}\par}%
\vskip 1em%
{\large \@date \par}%
\section*{\center{#1}}
\end{center}\par
\@starttoc{toc}%
}
\makeatother
\renewcommand{\thechapter}{}
\renewcommand{\chaptername}{}
\title{This is a test}
\author{John Doe\footnote{where is the foot note?}}
\begin{document}
\tableofcontents{Table of Contents}
\chapter{Preface}
\lipsum[1]
\chapter{First Thing}
\lipsum[2]
\chapter{Second Thing}
\lipsum[3]
\chapter{Third Thing}
\lipsum[4]
\end{document}
The first page of the output is given below.
Best Answer
Do you need
report
?If you could switch to
article
you could do it with 'standard'. But you must change chapter to section, section to subsection...