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/epsfig.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/epsfig.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/graphics/epsfig.sty | 100 |
1 files changed, 100 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/graphics/epsfig.sty b/Master/texmf-dist/tex/latex/graphics/epsfig.sty new file mode 100644 index 00000000000..0391324238a --- /dev/null +++ b/Master/texmf-dist/tex/latex/graphics/epsfig.sty @@ -0,0 +1,100 @@ +%% +%% This is file `epsfig.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% epsfig.dtx (with options: `package') +%% +%% epsfig.dtx Copyright (C) 1994-1996 1999 Sebastian Rahtz +%% +%% 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{epsfig} + [1999/02/16 v1.7a (e)psfig emulation (SPQR)] +\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{graphicx}} +\ProcessOptions +\RequirePackage{graphicx} +\def\psfig#1{% + \let\Gin@ewidth\Gin@exclamation\let\Gin@eheight\Gin@ewidth + \def\Gin@req@sizes{% + \def\Gin@scalex{1}\let\Gin@scaley\Gin@exclamation + \Gin@req@height\Gin@nat@height + \Gin@req@width\Gin@nat@width}% + \begingroup + \let\Gfigname\relax + \@tempswafalse + \toks@{\Ginclude@graphics{\Gfigname}}% + \setkeys{Gin}{#1}% + \Gin@esetsize + \ifx\Gfigname\relax\ErrorNoFile\else + \the\toks@ + \fi + \endgroup} +\define@key{Gin}{figure}{\def\Gfigname{#1}} +\define@key{Gin}{file}{\def\Gfigname{#1}} +\define@key{Gin}{prolog}{\typeout{epsfig: header files are not needed}} +\define@key{Gin}{silent}[]{} +\def\psdraft{\Gin@drafttrue} +\def\psfull{\Gin@draftfalse} +\def\pssilent{\typeout{epsfig option `silent' ignored}} +\def\psnoisy{\typeout{epsfig option `noisy' ignored}} +\let\epsfig\psfig +\def\psfigdriver#1{\makeatletter\input{#1.def}\makeatother} +\newdimen\epsfxsize +\newdimen\epsfysize +\epsfysize\z@ +\epsfxsize\z@ +\def\epsfsize#1#2{\epsfxsize} +\def\epsfbox{% + \@ifnextchar[% + {\Gin@bboxtrue\epsf@bb@box}% + {\Gin@bboxfalse\epsf@box}% +} +\def\epsf@bb@box[#1#2]{% + \expandafter\Gread@parse@bb#1#2 \\ + \epsf@box} +\def\epsf@box#1{% + \bgroup + \def\Gin@req@sizes{% + \epsfxsize\epsfsize{\Gin@nat@width}{\Gin@nat@height}% + \ifdim\epsfxsize=\z@ + \ifdim\epsfysize=\z@ + \Gin@req@height\Gin@nat@height + \Gin@req@width\Gin@nat@width + \else + \let\Gin@scalex\Gin@exclamation + \Gin@req@height\epsfysize + \Gscale@div\Gin@scaley\Gin@req@height\Gin@nat@height + \Gin@req@width\Gin@scaley\Gin@nat@width + \fi + \else + \Gin@req@width\epsfxsize + \Gscale@div\Gin@scalex\Gin@req@width\Gin@nat@width + \ifdim\epsfysize=\z@ + \let\Gin@scaley\Gin@exclamation + \Gin@req@height\Gin@scalex\Gin@nat@height + \else + \Gin@req@height\epsfysize + \Gscale@div\Gin@scaley\Gin@req@height\Gin@nat@height + \fi + \fi + }% + \Ginclude@graphics{#1}% + \egroup + \epsfysize\z@ + \epsfxsize\z@ +} +\let\epsffile\epsfbox +\def\epsfclipon{\Gin@cliptrue} +\def\epsfclipoff{\Gin@clipfalse} +\def\epsfverbosetrue{\typeout{epsf verbose option ignored}} +\def\epsfverbosefalse{\typeout{epsf verbose option ignored}} + +\endinput +%% +%% End of file `epsfig.sty'. |