# modifying princeton university thesis on sharelatex

I want to use a customized synthesis thesis model shown in the following URL: https://www.sharelatex.com/project/54ee3db1c592c06f6238e3a2

From this I would like to eliminate the copyright page, the contents page, the list of figures page, along with including the title 'Advisors' in stead of 'Advisor' on the title page. I have tried doing these things but I keep getting compiling errors, but i am sure this can be done. May you be willing to assist me?

The copyright page forms part of \makefrontmatter command. Let's see what \makefrontmatter looks like in puthesis.cls:

\newcommand*{\makefrontmatter}{
\bodyspacing
\makeacknowledgements\makededication\maketoc
\makelot\clearpage\makelof\clearpage\makelos
\clearpage\mainmatter
}


Note how makefrontmatterincludes\makecopyrightpage. That's what needs to be removed, or set to a no-op. Easiest would be to add

\let\makecopyrightpage\relax


as part of the preamble, just before \begin{document}.

2. Eliminate the Contents page.

Similar to the above, the contents page is generated using \maketoc. You can therefore also add

\let\maketoc\relax


before \begin{document}.

3. Eliminate the List of Figures page.

\let\makelof\relax


before \begin{document}.

That forms part of the \maketitlepage in puthesis.cls. It's easiest to load the etoolbox package and patch \maketitlepage using the following:

\usepackage{etoolbox}
\patchcmd{\maketitlepage}% <cmd>
{}{}% <success><failure>


Again, you can place this somewhere close to \begin{document} document, like before.

Collectively, the following addition to your document preamble (just before \begin{document}) does what you're after:

\let\makecopyrightpage\relax
\let\maketoc\relax
\let\makelof\relax
\usepackage{etoolbox}
\patchcmd{\maketitlepage}% <cmd>

• I have a minor problem with compilation of the bibliography. I get the error 'Empty thebibliography' environment on input line 3.' Line 3 does not contain anything pertaining to the references section, so it is rather befuddled. If you may have a chance, the link is sharelatex.com/project/54f65f3b3daa10e4172ab416 – user4437416 Mar 4 '15 at 2:44
• @inquiries: The only reference in thesis.bib is proquest2006 and there's no \cite{proquest2006} anywhere in the document. Either include \cite{proquest2006} somewhere where it's needed/used, or add \nocite{*} just before \bibliography{thesis}`, which will include all reference, regardless of whether they are cited. – Werner Mar 4 '15 at 3:23