% landscape.sty follows for 8.5in by 14in paper in landscape mode
% Set up 1in margins on all sides (beyond head and foot).
% See also headsup.sty and feetdown.sty.

 \setlength{\topmargin}{0in} % + 1in
 \setlength{\oddsidemargin}{0in} % + 1in
 \setlength{\evensidemargin}{0in} % + 1in
 \setlength{\textwidth}{12in}
 \setlength{\marginparwidth}{.5in}

 \newlength{\headskip}
 \setlength{\headskip}{\headsep}
 \addtolength{\headskip}{\headheight}

 \setlength{\textheight}{6.5in}
 \addtolength{\textheight}{-\headskip}
 \addtolength{\textheight}{-\footskip}

% For letter environment.  As in letter.cls but must redo after margin
% setting.
 \newdimen\longindentation
 \longindentation=.5\textwidth
 \newdimen\indentedwidth
 \indentedwidth=\textwidth
 \advance\indentedwidth -\longindentation


% Define additional margin adjustment macros

\newlength{\shift}
\newlength{\halfshift}

\newcommand{\pagelengthen}[1]{
 \setlength{\shift}{#1}
 \setlength{\halfshift}{.5\shift}
 \addtolength{\topmargin}{-\halfshift}
 \addtolength{\textheight}{\shift}
}

\newcommand{\pagewiden}[1]{
 \setlength{\shift}{#1}
 \setlength{\halfshift}{.5\shift}
 \addtolength{\oddsidemargin}{-\halfshift}
 \addtolength{\evensidemargin}{-\halfshift}
 \addtolength{\textwidth}{\shift}
 \longindentation=.5\textwidth
 \indentedwidth=\textwidth
 \advance\indentedwidth -\longindentation
}
