forked from CryHavoc/dottes
Change how page geometry is handled.
Instead of setting margins by hand, use the geometry package. Set a 1" margin generally, and a 0.5" margin for the title page.
This commit is contained in:
parent
1129f42a8b
commit
f64f1c9dd8
|
@ -1,16 +1,3 @@
|
||||||
% ----- Page setup
|
|
||||||
|
|
||||||
% Adjust margins for A4 portrait. Increase width by 4cm and height by 4cm.
|
|
||||||
\addtolength{\textwidth}{4cm}
|
|
||||||
\addtolength{\hoffset}{-2cm}
|
|
||||||
|
|
||||||
\addtolength{\textheight}{4cm}
|
|
||||||
\addtolength{\voffset}{-2cm}
|
|
||||||
|
|
||||||
% Move the top margin up a further cm.
|
|
||||||
\addtolength{\textheight}{1cm}
|
|
||||||
\addtolength{\voffset}{-1cm}
|
|
||||||
|
|
||||||
% -----
|
% -----
|
||||||
|
|
||||||
% Title page
|
% Title page
|
||||||
|
|
|
@ -1,16 +1,3 @@
|
||||||
% ----- Page setup
|
|
||||||
|
|
||||||
% Adjust margins for A5 landscape. Increase width by 4cm and height by 4cm.
|
|
||||||
\addtolength{\textwidth}{4cm}
|
|
||||||
\addtolength{\hoffset}{-2cm}
|
|
||||||
|
|
||||||
\addtolength{\textheight}{4cm}
|
|
||||||
\addtolength{\voffset}{-2cm}
|
|
||||||
|
|
||||||
% Move the top margin up a further cm.
|
|
||||||
\addtolength{\textheight}{1cm}
|
|
||||||
\addtolength{\voffset}{-1cm}
|
|
||||||
|
|
||||||
% -----
|
% -----
|
||||||
|
|
||||||
% Title page
|
% Title page
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
\usepackage{color}
|
\usepackage{color}
|
||||||
\usepackage{fontspec}
|
\usepackage{fontspec}
|
||||||
|
\usepackage[margin=1in]{geometry}
|
||||||
\usepackage{graphicx}
|
\usepackage{graphicx}
|
||||||
\usepackage{fancyhdr}
|
\usepackage{fancyhdr}
|
||||||
\usepackage{longtable}
|
\usepackage{longtable}
|
||||||
|
@ -51,10 +52,12 @@
|
||||||
|
|
||||||
% ----- Title page
|
% ----- Title page
|
||||||
|
|
||||||
|
\newgeometry{margin=0.5in}
|
||||||
\begin{titlepage}
|
\begin{titlepage}
|
||||||
\pagecolor{havocpurple}
|
\pagecolor{havocpurple}
|
||||||
\titleBoD
|
\titleBoD
|
||||||
\end{titlepage}
|
\end{titlepage}
|
||||||
|
\restoregeometry
|
||||||
|
|
||||||
% ----- First inside page and dedication. No page numbering here, thanks.
|
% ----- First inside page and dedication. No page numbering here, thanks.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue