diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-12 23:56:29 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-12 23:56:29 +0000 |
commit | d159ee4839fd5df1baf4807ffdd81b9736b8c296 (patch) | |
tree | 605e7b21bb10fbb7aaad233391a753b508ece0dc /Master/texmf-dist/tex/latex/graphics/lscape.sty | |
parent | fccb04ca62478bc2058e1f0e79f2c3ee03bdb912 (diff) |
graphics
git-svn-id: svn://tug.org/texlive/trunk@958 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/graphics/lscape.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/graphics/lscape.sty | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/graphics/lscape.sty b/Master/texmf-dist/tex/latex/graphics/lscape.sty new file mode 100644 index 00000000000..0717fc85f2c --- /dev/null +++ b/Master/texmf-dist/tex/latex/graphics/lscape.sty @@ -0,0 +1,55 @@ +%% +%% This is file `lscape.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lscape.dtx (with options: `package') +%% +%% lscape.dtx Copyright (C) 1994 1999-2000 David Carlisle +%% +%% 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.0 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'. |