I'm currently finishing up my PhD thesis, and have managed to acquire a LaTeX template from a colleague.
This template (with the .sty code presented below) used to produce page numbers in either the top left or top right of the page. However, even when compiling the original thesis of my colleague (written around several years ago), the page numbers will no longer appear (whereas the identical script used to produce page numbers back then).
My knowledge on LaTeX is however very much base level. So I was wondering whether one of you would be able to identify where the problem lies. That would be a life saver for me.
If additional info is needed, please let me know.
Thanks in advance!
Code: Select all
\ProvidesPackage{thesis}[2006/03/07 v1.1 thesis definitions (HA)]\RequirePackage{xkeyval}\RequirePackage{xcolor}% Package options\DeclareOptionX{includeall}{\let\includeonly\@gobble}\DeclareOptionX{singlespacing}{%\let\singlespacing\relax\renewenvironment{onehalfspace}{}{}%}% Optimize layout% 150 standard% 1000 suppresses widows and orphans% 10000 eliminates them but may worsen the rest of the page% use \raggedbottom?\DeclareOptionX{suppressWO}{%\widowpenalty1000\clubpenalty1000}\DeclareOptionX{eliminateWO}{%\widowpenalty10000\clubpenalty10000}\DeclareOptionX{raggedbottom}{\raggedbottom}\newif\ifthesis@embedlinks\DeclareOptionX{embedlinks}{\thesis@embedlinkstrue}\DeclareOptionX{blacklinks}{\definecolor{hylinkcolor}{RGB}{0,0,0}}\DeclareOptionX{bluelinks}{\definecolor{hylinkcolor}{RGB}{0,0,102}}\DeclareOptionX{manuscript}{\let\manuscript\endinput}\DeclareOptionX{final}{\let\manuscript\relax}\ExecuteOptionsX{blacklinks,manuscript}\ProcessOptionsX\relax% Margins% \thesis@margin gives normal margin% \thesis@rmargin gives right margin (outside margin)% \thesis@emargin is the difference between \thesis@rmargin and% \thesis@margin and this will be used for page numbers,% section numbers and fullwidth environments.