You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.7 KiB
61 lines
1.7 KiB
%%
|
|
%% This is file `lscape.sty',
|
|
%% generated with the docstrip utility.
|
|
%%
|
|
%% The original source files were:
|
|
%%
|
|
%% lscape.dtx (with options: `package')
|
|
%%
|
|
%% The source is maintained by the LaTeX Project team and bug
|
|
%% reports for it can be opened at https://latex-project.org/bugs/
|
|
%% (but please observe conditions on bug reports sent to that address!)
|
|
%%
|
|
%%
|
|
%% lscape.dtx Copyright (C) 1994 1999-2000 David Carlisle
|
|
%% Copyright (C) 2000-2020 David Carlisle, LaTeX3 Project
|
|
%%
|
|
%% This file is part of the Standard LaTeX `Graphics Bundle'.
|
|
%% It may be distributed under the terms of the LaTeX Project Public
|
|
%% License, as described in lppl.txt in the base LaTeX distribution.
|
|
%% Either version 1.3c or, at your option, any later version.
|
|
%%
|
|
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
|
|
\ProvidesPackage{lscape}
|
|
[2000/10/22 v3.01 Landscape Pages (DPC)]
|
|
\newif\ifGin@pdftex
|
|
\Gin@pdftexfalse
|
|
\DeclareOption{pdftex}{%
|
|
\PassOptionsToPackage\CurrentOption{graphics}
|
|
\Gin@pdftextrue
|
|
}
|
|
\DeclareOption*{\PassOptionsToPackage\CurrentOption{graphics}}
|
|
\ProcessOptions
|
|
\RequirePackage{graphics}
|
|
\let\LS@makecol=\@makecol
|
|
\let\LS@makefcolumn=\@makefcolumn
|
|
\def\LS@rot{%
|
|
\setbox\@outputbox\vbox{\hbox{\rotatebox{90}{\box\@outputbox}}}}
|
|
\def\landscape{%
|
|
\clearpage
|
|
\begingroup
|
|
\vsize=\textwidth
|
|
\hsize=\textheight
|
|
\linewidth=\hsize
|
|
\columnwidth=\hsize
|
|
\@colroom=\vsize
|
|
\textheight=\vsize
|
|
\@colht=\vsize
|
|
\def\@makecol{\LS@makecol\LS@rot}%
|
|
\def\@makefcolumn##1{\LS@makefcolumn{##1}\LS@rot}}
|
|
\def\endlandscape{%
|
|
\ifGin@pdftex
|
|
\pdfpageattr{/Rotate 90}
|
|
\fi
|
|
\clearpage
|
|
\endgroup
|
|
\global\@colht=\textheight
|
|
\global\vsize=\textheight
|
|
\global\@colroom=\textheight}
|
|
\endinput
|
|
%%
|
|
%% End of file `lscape.sty'.
|
|
|