mkthesis.sty 3.56 KB
 ab604 committed Aug 17, 2019 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 \pagestyle{empty} \setlength{\parskip}{2ex plus 0.5ex minus 0.2ex} \setlength{\parindent}{0pt} \makeatletter %to avoid error messages generated by "\@". Makes Latex treat "@" like a letter %29. The Title page (of every volume if more than one) must contain the following information in the order shown % University of Southampton[1] % Name of the Faculty and Faculty in which the research was conducted % Full title of the thesis and any subtitle % Total number of volumes (if more than one) and the number of that particular volume % Your full name followed, if you wish, by any qualifications and distinctions % Qualification for which the thesis is submitted % Month and year of submission \linespread{1.5} \def\submitdate#1{\gdef\@submitdate{#1}} \submitdate{\today} % Submission date supplied in 00-preface.Rmd \def\maketitle{ \begin{titlepage}{ %\linespread{1.5} \Large School of Biological Sciences \\ University of Southampton \rm \vskip 3in \Large \bf \@title \par % Title supplied in 00-preface.Rmd } \vskip 0.3in \par {\Large \@author} % Author name supplied in 00-preface.Rmd \vskip 4in \par Submitted in part fulfilment of the requirements for the degree of \linebreak Doctor of Philosophy at the University of Southampton, \@submitdate \vfil \end{titlepage} } \def\titlepage{ \newpage \centering \linespread{1} \normalsize \vbox to \vsize\bgroup\vbox to 9in\bgroup } \def\endtitlepage{ \par \kern 0pt \egroup \vss \egroup \cleardoublepage } % Preface with Roman numbering reading the files kept in tex-files folder % The order of the preface is currently: Abstract, Table of Contents, List of Tables, % List of Figures, List of Abbreviations, Declaration, Acknowledgments \def\preface{ \pagenumbering{roman} \pagestyle{plain} \doublespacing % Abstract \phantomsection \input{tex-files/abstract.tex}  mk11g11 committed Oct 06, 2019 70  \pagestyle{plain}  ab604 committed Aug 17, 2019 71  \cleardoublepage  mk11g11 committed Oct 06, 2019 72  \pagestyle{uheadings}  ab604 committed Aug 17, 2019 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109  %Table of contents \phantomsection \pdfbookmark[0]{\contentsname}{toc} \tableofcontents \pagestyle{plain} \cleardoublepage \pagestyle{uheadings} % List of tables \phantomsection \listoftables \pagestyle{plain} \cleardoublepage \pagestyle{uheadings} % List of Figures \phantomsection \listoffigures \pagestyle{plain} \cleardoublepage \pagestyle{uheadings} % Abbreviations \phantomsection \input{tex-files/abbreviations.tex} \pagestyle{plain} \cleardoublepage \pagestyle{uheadings} % Declaration of Authorship \phantomsection \input{tex-files/declaration.tex} \pagestyle{plain} \cleardoublepage \pagestyle{uheadings} % Acknowledgements \phantomsection \input{tex-files/acknowledgements.tex} \pagestyle{plain} \cleardoublepage \pagestyle{uheadings}  mk11g11 committed Oct 06, 2019 110 111 112 113 114 115  % Publications \phantomsection \input{tex-files/publication.tex} \pagestyle{plain} \cleardoublepage \pagestyle{uheadings}  ab604 committed Aug 17, 2019 116 117 118 119 120 121 122 123 124 125 126 127 } % Now change the stlye for the body and use underlined pages with Arabic Numbering \def\body{ \pagestyle{uheadings} \pagenumbering{arabic} \doublespacing } \makeatother %to avoid error messages generated by "\@". Makes Latex treat "@" like a letter \setlength{\parskip}{\medskipamount} % a little space before a \par \setlength{\parindent}{0pt} % don't indent first lines of paragraphs