summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/calendar/margins.sty
blob: 26888f3cd6ea3161bf08d97eb5794a403793f50b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
\NeedsTeXFormat{LaTeX2e}[1995/06/01]
\ProvidesPackage{margins}
          [1997/11/07 Simple margin control (Frank Bennett)]
\def\margins#1{%
  \headheight=0pt
  \headsep=0pt
  \topmargin=-1in
  \oddsidemargin=-1in
  \evensidemargin=-1in
  \advance\topmargin by#1
  \advance\oddsidemargin by#1
  \advance\evensidemargin by#1
  \textwidth=\paperwidth
  \advance\textwidth by-#1
  \advance\textwidth by-#1
  \hsize=\textwidth
  \textheight=\paperheight
  \advance\textheight by-#1
  \advance\textheight by-#1
  \vsize=\textheight
  \@colroom=\vsize
  \@colht=\vsize}
\endinput