summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ucalgmthesis
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-10-24 21:48:41 +0000
committerKarl Berry <karl@freefriends.org>2019-10-24 21:48:41 +0000
commitd5d668c17f200b470f488e98899c76e79fa06ab4 (patch)
treef3d8f3d4c1157573db7567b9329f07e72cbf699e /Master/texmf-dist/tex/latex/ucalgmthesis
parentdbe0de34966f1a14cf3c9221ce6ec20ccd4febb1 (diff)
ucalgmthesis (24oct19)
git-svn-id: svn://tug.org/texlive/trunk@52527 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ucalgmthesis')
-rw-r--r--Master/texmf-dist/tex/latex/ucalgmthesis/ucalgmthesis.cls15
1 files changed, 10 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/ucalgmthesis/ucalgmthesis.cls b/Master/texmf-dist/tex/latex/ucalgmthesis/ucalgmthesis.cls
index 23cd021b0de..3e2c691def2 100644
--- a/Master/texmf-dist/tex/latex/ucalgmthesis/ucalgmthesis.cls
+++ b/Master/texmf-dist/tex/latex/ucalgmthesis/ucalgmthesis.cls
@@ -11,7 +11,7 @@
% Distributed under the terms of the MIT License
% https://opensource.org/licenses/MIT
-\ProvidesClass{ucalgmthesis}[2019/04/02
+\ProvidesClass{ucalgmthesis}[2019/10/24
University of Calgary Memoir Thesis Class]
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
@@ -85,12 +85,12 @@
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{memoir}}
-% By default, typeset with one half spacing, no running heads, 11 pt
+% By default, typeset with one half spacing, no running heads
\ExecuteOptions{onehalfspaced,plain}
% Tell memoir the document has to be one-sided (i.e., don't switch
-% margins, etc.) and don't add empty pages before new chapters
+% margins, etc.), 11 pt, and don't add empty pages before new chapters
\PassOptionsToClass{openany,oneside,11pt}{memoir}
\ProcessOptions
@@ -119,8 +119,13 @@
\newcommand{\manuscriptthesis}{%
\setlxvchars
- \settypeblocksize{25\baselineskip}{1.1\lxvchars}{*}%
- \setulmargins{*}{*}{*}%
+ \settypeblocksize{25\baselineskip}{1.1\lxvchars}{*}
+ \if@twoside
+ \setlrmargins{*}{*}{1.618}
+ \else
+ \setlrmargins{*}{*}{1}
+ \fi
+ \setulmargins{*}{*}{*}
\checkandfixthelayout}
% fix a bug in mathdesign