diff options
author | Norbert Preining <norbert@preining.info> | 2019-10-25 03:00:46 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-10-25 03:00:46 +0000 |
commit | c2d1af7de907333dbb44f6687de92751dce79ff8 (patch) | |
tree | fc47e6bcc85210b51f74828ba5f7e531ba4c546c /macros/latex/contrib/ucalgmthesis/ucalgmthesis.cls | |
parent | 33b877a6413cc7b93c7a2c17e6df36c03f55481d (diff) |
CTAN sync 201910250300
Diffstat (limited to 'macros/latex/contrib/ucalgmthesis/ucalgmthesis.cls')
-rw-r--r-- | macros/latex/contrib/ucalgmthesis/ucalgmthesis.cls | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/macros/latex/contrib/ucalgmthesis/ucalgmthesis.cls b/macros/latex/contrib/ucalgmthesis/ucalgmthesis.cls index 23cd021b0d..3e2c691def 100644 --- a/macros/latex/contrib/ucalgmthesis/ucalgmthesis.cls +++ b/macros/latex/contrib/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 |