summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-08-21 23:25:59 +0000
committerKarl Berry <karl@freefriends.org>2011-08-21 23:25:59 +0000
commita3cd9c29c24e44289b1027f4e451461c5e19cb65 (patch)
treeaa920380cb5cebeb80fbd5af2b93ddf2df2c8d2e /Master
parent4bf6d40e1871037aeeadbc08a3aaadf63bd5afc6 (diff)
muthesis (21aug11 and earlier)
git-svn-id: svn://tug.org/texlive/trunk@23636 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/tex/latex/muthesis/muthesis.cls40
-rw-r--r--Master/texmf-dist/tex/latex/muthesis/third-rep.cls3
2 files changed, 30 insertions, 13 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}
diff --git a/Master/texmf-dist/tex/latex/muthesis/third-rep.cls b/Master/texmf-dist/tex/latex/muthesis/third-rep.cls
index 6f394f034a7..3f8346115ea 100644
--- a/Master/texmf-dist/tex/latex/muthesis/third-rep.cls
+++ b/Master/texmf-dist/tex/latex/muthesis/third-rep.cls
@@ -1,6 +1,6 @@
%% This is file `third-rep.cls'
%%
-%% Time-stamp: <2007-04-16 13:50:57 graham>
+%% Time-stamp: <2011-08-17 16:46:44 grahamgough>
%%
%%
@@ -27,6 +27,7 @@
\LoadClass{report}
\usepackage{a4-mancs}
\usepackage{graphicx}
+
\usepackage{verbatim}
\newif\ifthanks@