diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/muthesis/muthesis.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/muthesis/muthesis.cls | 40 |
1 files changed, 28 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/latex/muthesis/muthesis.cls b/Master/texmf-dist/tex/latex/muthesis/muthesis.cls index 0504284ecf3..583c5e57d66 100644 --- a/Master/texmf-dist/tex/latex/muthesis/muthesis.cls +++ b/Master/texmf-dist/tex/latex/muthesis/muthesis.cls @@ -1,11 +1,11 @@ %% muthesis Class for LaTeX2e. %% -%% Time-stamp: <2011-08-15 10:52:35 grahamgough> +%% Time-stamp: <2011-08-17 11:40:04 grahamgough> %% %% -%% Copyright 1999-2010 G.D. Gough and the University of Manchester +%% Copyright 1999-2011 G.D. Gough and the University of Manchester %% %% This program can redistributed and/or modified under the terms %% of the LaTeX Project Public License Distributed from CTAN @@ -21,6 +21,10 @@ %% A fairly detailed description of the use of this class can be found %% below (see `Example of use') +%% Updated 17/8/11 to take include word count + +%% Updated 15/8/11 to take care of new Copyright statement + %% Updated 12/5/10 to take care of new Copyright statement %% Updated 29/8/07 to take care of new Copyright statement @@ -113,7 +117,7 @@ %% It is not compatible with the drafthead style. -\NeedsTeXFormat{LaTeX2e} \ProvidesClass{muthesis}[2007/09/29 MU Thesis Class] +\NeedsTeXFormat{LaTeX2e} \ProvidesClass{muthesis}[2011/08/15 MU Thesis Class] \RequirePackage{setspace} \newif\ifsinglesp@ @@ -157,7 +161,8 @@ \beforeabstract \prefacesection{Abstract} - This \expandafter{\@thesis} answers all the questions you were afraid to ask ... + \abstracttitle + This \expandafter{\@thesis} answers all the questions you were afraid to ask ... \afterabstract \prefacesection{Acknowledgements} I would like to thank... @@ -330,14 +335,11 @@ Documentation: } \def\abstracttitle{% - \begin{center} - \large - \expandafter{\@title}\\ - \@author\\ - A \expandafter{\@thesis} submitted to the University of Manchester\\ - for the degree of \degreetitle\\ - \@submitdate - \end{center} + {\centering \singlespacing\large% + \textsc{\expandafter{\@title}}\\% + \@author\\% + A \expandafter{\@thesis} submitted to the University of Manchester\\% + for the degree of \degreetitle, \@submitdate\\ \mbox{}}\\% } \def\copyrightpage{% @@ -458,6 +460,20 @@ of \degreetitle. \titlep \ifsigpage\signaturepage\fi \tableofcontents + ~\\ + ~\\ + Word Count: 999,999 + % Download texcount.pl from http://app.uio.no/ifi/texcount/ and + % uncomment following lines to have word count handled automatically + + % Run texcount on report.tex and write results to word.count + \immediate\write18{perl ./texcount.pl -1 -sum -relaxed -inc report.tex > word.count} + % TC:ignore + %Word Count: \input{word.count} % texcount ignore around this to stop error message (open recursion on file) + % TC:endignore + % note: if this causes an error (word.count missing, or a blank wordcount) you may need to add: " --enable-write18" (win) or "--shell-escape" (Linux) to arguments for LaTeX + % see http://app.uio.no/ifi/texcount/faq.html for details of this and other possible errors + ~\\ \newpage \iftablespage \addvspace{10pt} |