Margins work properly now

This commit is contained in:
2022-02-03 15:44:02 +00:00
parent a7b5834024
commit 0d00c296d2
2 changed files with 12 additions and 11 deletions

View File

@@ -10,6 +10,7 @@
\usepackage{custom} \usepackage{custom}
%% Commonly-used packages and macros are in custom.sty %% Commonly-used packages and macros are in custom.sty
%% Put any additional packages after this line %% Put any additional packages after this line
%% !!WARNING: The geometry package is incompatible with this template!
\usepackage{lipsum}%provides us with text for testing \usepackage{lipsum}%provides us with text for testing
%% usage: \lipsum[STARTNUM-ENDNUM] %% usage: \lipsum[STARTNUM-ENDNUM]
@@ -38,8 +39,8 @@
\begin{document} \begin{document}
\maketitle{} \maketitle{}
\copyrightpage{} \copyrightpage{}
%\signaturepage{} %For Print copies %\signaturepage{} %Generally only for Print copies
%\archivesigpage{} %For Print copies %\archivesigpage{} %Generally only for Print copies
\begin{abstract} \begin{abstract}
The abstract goes here translated into English. The abstract goes here translated into English.

View File

@@ -504,15 +504,16 @@
%% WARNING: memoir class has its own margin macros %% WARNING: memoir class has its own margin macros
%% Do not use the geometry package!!!! %% Do not use the geometry package!!!!
% \setlength{\TPMargin}{0mm} %% margins inside the textblock* %% The MS word template uses even 25.4mm margins which works poorly as a bound book
%% We will only do this for the online version
\semiisopage \semiisopage{}
% % The MS word template uses even 25.4mm margins, this is not as good if is bound %Print version: iso geometry on an a4 looks best when bound
\setlrmarginsandblock{30mm}{25.4mm}{*} \ifbool{online}
% % {left}{right}{ratio}, * for calculate {%Online version: symmetric margins
%%% if you need it to be even (for online), use this \setlrmarginsandblock{25.4mm}{25.4mm}{*}% {left}{right}{ratio} * for calculate
\ifbool{online}{\setulmarginsandblock{25.4mm}{25.4mm}{*}} \setulmarginsandblock{25.4mm}{25.4mm}{*}% {upper}{lower}{ratio} * for calculate
% % {upper}{lower}{ratio} * for calculate }{}
\checkandfixthelayout% implement the margins \checkandfixthelayout% implement the margins
%% Some debugging code to check length calculation. %% Some debugging code to check length calculation.
@@ -523,7 +524,6 @@
pagecentery:\printlength{\pagecentery}\\ pagecentery:\printlength{\pagecentery}\\
} }
%% ----- PRINTED FRONT COVER ---------------------------------------------------------- %% ----- PRINTED FRONT COVER ----------------------------------------------------------
%% This cover will be on the outside (not with window) %% This cover will be on the outside (not with window)
% \newcommand{\printedcover}{ % \newcommand{\printedcover}{