%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % phd.cls : A class file for a Ph.D. thesis % % Université de Genève, Faculté des Sciences % % Section de mathématiques % % % % Version 2.0, 29/04/2008, Martin J. Gander % % (Version 1.0 by Julio Rodriguez in 2007) % % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} \ProvidesClass{phd} % All options are passed to the article class. \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} \ProcessOptions \LoadClass{article} % use standard graphics and math packages \usepackage{amsmath,amssymb} \usepackage{psfrag} \usepackage{graphicx} % modify page sizes and indentation \oddsidemargin 0in \evensidemargin 0in \topmargin -25pt \headheight 9pt \headsep 25pt \setlength{\textheight}{235mm} \setlength{\textwidth}{155mm} % provide standard mathematics environments \newtheorem{theorem}{\bf Theorem}[section] \newtheorem{lemma}[theorem]{\bf Lemma} \newtheorem{corollary}[theorem]{\bf Corollary} \newtheorem{proposition}[theorem]{\bf Proposition} \newtheorem{definition}{\bf Definition}[section] \newtheorem{algorithm}{\bf Algorithm}[section] \newenvironment{proof}{\noindent{\bf Proof\ }}{\QED\\} \newcommand{\QED}{\hspace*{\fill}\rule{2.5mm}{2.5mm}} \newtheorem{remark}{\bf Remark}[section] \newtheorem{problem}{\bf Problem}[section] \newtheorem{example}{\bf Example}[section] % Variables for the titlepage \newcommand{\Professor}[1]{\gdef\@Professor{#1}} \newcommand{\Place}[1]{\gdef\@Place{#1}} \newcommand{\NumThesis}[1]{\gdef\@NumThesis{#1}} \renewcommand{\maketitle}{ \thispagestyle{empty} \setcounter{page}{0} \noindent\large UNIVERSIT\'E DE GEN\`EVE \hfill FACULT\'E DES SCIENCES \\ Section de math\'ematiques \hfill {\@Professor } \\ \hrule \vfill \begin{center} {\large\bf\@title} \vfill {\large Ph.D. THESIS} \\ \vskip 7mm presented to the Faculty of Science, University of Geneva \\ for obtaning the degree of Doctor of Mathematics. %distinction { \@distinct }. \vfill by \\ \vskip0.2cm {\large\rm\ {\@author} } \\ \vskip0.2cm from \\ \vskip0.2cm { \@Place } \\ \vfill {Ph.D. N° { \@NumThesis } } \vfill {\footnotesize Atelier de reproduction de la Section de physique \\ Geneva, \ \@date \\[-2mm]} \hrulefill \end{center} \newpage} \@addtoreset{equation}{section} % Makes \section reset 'equation' counter. \def\theequation{\thesection.\arabic{equation}} \@addtoreset{theorem}{section} \def\thetheorem{\thesection.\@arabic\c@theorem} \def\thelemma{\thesection.\@arabic\c@theorem} \def\thecorollary{\thecorollary.\@arabic\c@theorem} \def\theproposition{\theproposition.\@arabic\c@theorem} \@addtoreset{figure}{section} \def\thefigure{\thesection.\@arabic\c@figure} \@addtoreset{table}{section} \def\thetable{\thesection.\@arabic\c@table}