blob: 38749a599cce538304885f545ed2e8ee0e9e130b (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
%%
%% This is file `fullpage.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% fullpage.dtx (with options: `package')
%% =============================================
%% IMPORTANT NOTICE:
%%
%% This program can be redistributed and/or modified under the terms
%% of the LaTeX Project Public License Distributed from CTAN
%% archives in directory macros/latex/base/lppl.txt; either
%% version 1 of the License, or any later version.
%%
%% This is a generated file.
%% It may not be distributed without the original source file fullpage.dtx.
%%
%% Full documentation can be obtained by LaTeXing that original file.
%% Only a few abbreviated comments remain here to describe the usage.
%% =============================================
%% Copyright 1994-1999 Patrick W Daly
%% Max-Planck-Institut f\"ur Aeronomie
%% Max-Planck-Str. 2
%% D-37191 Katlenburg-Lindau
%% Germany
%% E-mail: daly@linmpi.mpg.de
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesPackage{fullpage}
[1999/02/23 1.1 (PWD)]
% Sets all 4 margins to be either 1 inch or 1.5 cm, and specifies
% the page style
% Call as \usepackage[options]{fullpage}
% Options = in (default) for 1 inch
% cm for 1.5 cm
% plain (default) sets \pagestyle{plain}
% empty sets \pagestyle{empty}
% headings sets \pagestyle{headings}
% myheadings sets \pagestyle{myheadings}
%-----------------------------------------------------------
\newlength{\FP@margin}
\DeclareOption{in}{\setlength{\FP@margin}{1in}}
\DeclareOption{cm}{\setlength{\FP@margin}{1.5cm}}
\newif\ifFP@plain
\newif\ifFP@empty
\DeclareOption{plain}{\FP@plaintrue \FP@emptyfalse
\pagestyle{plain}}
\DeclareOption{empty}{\FP@plaintrue \FP@emptytrue
\pagestyle{empty}}
\DeclareOption{headings}{\FP@plainfalse \FP@emptyfalse
\pagestyle{headings}}
\DeclareOption{myheadings}{\FP@plainfalse \FP@emptyfalse
\pagestyle{myheadings}}
\ExecuteOptions{in,plain}
\ProcessOptions*
\ifFP@plain
\setlength{\headheight}{0pt}
\setlength{\headsep}{0pt}
\fi
\ifFP@empty
\setlength{\footskip}{0pt}
\fi
\setlength{\textwidth}{\paperwidth}
\addtolength{\textwidth}{-2\FP@margin}
\setlength{\oddsidemargin}{\FP@margin}
\addtolength{\oddsidemargin}{-1in}
\setlength{\evensidemargin}{\oddsidemargin}
\setlength{\textheight}{\paperheight}
\addtolength{\textheight}{-\headheight}
\addtolength{\textheight}{-\headsep}
\addtolength{\textheight}{-\footskip}
\addtolength{\textheight}{-2\FP@margin}
\setlength{\topmargin}{\FP@margin}
\addtolength{\topmargin}{-1in}
%%
%% <<<<< End of generated file <<<<<<
%%
%% End of file `fullpage.sty'.
|