dotfiles/texmf/tex/latex/frank_tex/fullpage.sty
2013-12-09 21:56:04 +01:00

78 lines
2.7 KiB
TeX

%%
%% 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'.