# HG changeset patch # User Jim Hague # Date 1373226065 -3600 # Node ID 217768907fa8c3929fb3994f8eb63bdad13e861f # Parent c3b300378738a2260c74d056246661e7690c74ae 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. diff -r c3b300378738 -r 217768907fa8 docsetup.A4.tex --- a/docsetup.A4.tex Sun Jul 07 20:40:03 2013 +0100 +++ b/docsetup.A4.tex Sun Jul 07 20:41:05 2013 +0100 @@ -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 diff -r c3b300378738 -r 217768907fa8 docsetup.A5.tex --- a/docsetup.A5.tex Sun Jul 07 20:40:03 2013 +0100 +++ b/docsetup.A5.tex Sun Jul 07 20:41:05 2013 +0100 @@ -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 diff -r c3b300378738 -r 217768907fa8 dottes.tex --- a/dottes.tex Sun Jul 07 20:40:03 2013 +0100 +++ b/dottes.tex Sun Jul 07 20:41:05 2013 +0100 @@ -2,6 +2,7 @@ \usepackage{color} \usepackage{fontspec} +\usepackage[margin=1in]{geometry} \usepackage{graphicx} \usepackage{fancyhdr} \usepackage{longtable} @@ -51,10 +52,12 @@ % ----- Title page +\newgeometry{margin=0.5in} \begin{titlepage} \pagecolor{havocpurple} \titleBoD \end{titlepage} +\restoregeometry % ----- First inside page and dedication. No page numbering here, thanks.