Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edmaths
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
luke naylor latex documents
edmaths
Commits
1e96f818
Commit
1e96f818
authored
3 years ago
by
Joshua Fogg
Browse files
Options
Downloads
Patches
Plain Diff
Added mmath degree option
Added to upstream since I started this fork, where it's now the default.
parent
37c91652
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
edmaths.sty
+5
-5
5 additions, 5 deletions
edmaths.sty
with
5 additions
and
5 deletions
edmaths.sty
+
5
−
5
View file @
1e96f818
...
...
@@ -26,7 +26,7 @@
% Textheight delayed until we know the line spacing.
% The following is removed in favour of the `report' class options "oneside/twoside".
%\@twosidefalse \@mparswitchfalse % Single-sided by default
%
\@twosidefalse \@mparswitchfalse % Single-sided by default
...
...
@@ -51,6 +51,7 @@
\DeclareOption
{
secondyear
}{
\renewcommand
{
\degreetext
}{
Second-Year Report
\\
Graduate School of Mathematics
}}
\DeclareOption
{
thirdyear
}{
\renewcommand
{
\degreetext
}{
Third-Year Report
\\
Graduate School of Mathematics
}}
\DeclareOption
{
y4project
}{
\renewcommand
{
\degreetext
}{
Year 4 Project
\\
School of Mathematics
}}
\DeclareOption
{
mmath
}{
\renewcommand
{
\degreetext
}{
Master of Mathematics with Honours
\\
School of Mathematics
}}
\DeclareOption
{
masterph
}{
\renewcommand
{
\degreetext
}{
Master of Philosophy
}}
\DeclareOption
{
mastersc
}{
\renewcommand
{
\degreetext
}{
Master of Science by Research
}}
...
...
@@ -61,8 +62,8 @@
\DeclareOption
{
double
}{
\renewcommand
{
\stretchfactor
}{
2
}}
% Options relating to having single or double sided documents
%\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse} % Single-sided by default
%\DeclareOption{twosides}{\@twosidetrue \@mparswitchtrue}
%
\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse} % Single-sided by default
%
\DeclareOption{twosides}{\@twosidetrue \@mparswitchtrue}
\ProcessOptions
...
...
@@ -107,7 +108,7 @@
\setstretch
{
\stretchfactor
}
% Debug only: In the next line, \XXXfactor contains the number of lines on a text-only page.
%\newlength{\XXXunit}\setlength{\XXXunit}{1pt}\newlength{\XXXfactor}\setlength{\XXXfactor}{1pt + ((672pt - \topskip) / \baselineskip) * \XXXunit}
%
\newlength{\XXXunit}\setlength{\XXXunit}{1pt}\newlength{\XXXfactor}\setlength{\XXXfactor}{1pt + ((672pt - \topskip) / \baselineskip) * \XXXunit}
\newlength
{
\scratchlength
}
\setlength
{
\scratchlength
}{
\topskip
+ ((672pt -
\topskip
) /
\baselineskip
) *
\baselineskip
+
\baselineskip
}
\setlength
{
\textheight
}{
\scratchlength
}
...
...
@@ -126,7 +127,6 @@
\begin{minipage}
[t][7.6cm]
{
10.5cm
}
\begin{center}
{
\LARGE\textbf
{
\@
title
}
\par
}
% {\large{\@subtitle}}\vfill % BUG doesn't work
{
\Large\textit
{
\@
author
}
\par
}
\end{center}
\end{minipage}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment