Mercurial > dottes
comparison dottes.tex @ 307:217768907fa8
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.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Sun, 07 Jul 2013 20:41:05 +0100 |
parents | c3b300378738 |
children | 22759794b31f |
comparison
equal
deleted
inserted
replaced
306:c3b300378738 | 307:217768907fa8 |
---|---|
1 \input{docclass.tex} | 1 \input{docclass.tex} |
2 | 2 |
3 \usepackage{color} | 3 \usepackage{color} |
4 \usepackage{fontspec} | 4 \usepackage{fontspec} |
5 \usepackage[margin=1in]{geometry} | |
5 \usepackage{graphicx} | 6 \usepackage{graphicx} |
6 \usepackage{fancyhdr} | 7 \usepackage{fancyhdr} |
7 \usepackage{longtable} | 8 \usepackage{longtable} |
8 \usepackage[UKenglish]{babel} | 9 \usepackage[UKenglish]{babel} |
9 \usepackage[UKenglish]{isodate} | 10 \usepackage[UKenglish]{isodate} |
49 | 50 |
50 \frontmatter | 51 \frontmatter |
51 | 52 |
52 % ----- Title page | 53 % ----- Title page |
53 | 54 |
55 \newgeometry{margin=0.5in} | |
54 \begin{titlepage} | 56 \begin{titlepage} |
55 \pagecolor{havocpurple} | 57 \pagecolor{havocpurple} |
56 \titleBoD | 58 \titleBoD |
57 \end{titlepage} | 59 \end{titlepage} |
60 \restoregeometry | |
58 | 61 |
59 % ----- First inside page and dedication. No page numbering here, thanks. | 62 % ----- First inside page and dedication. No page numbering here, thanks. |
60 | 63 |
61 \pagecolor{white} | 64 \pagecolor{white} |
62 | 65 |