]> AND Private Git Repository - LiCO.git/blob - PeCO-EO/epsfig.sty
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
Update : Ali Add the reponse.tex file
[LiCO.git] / PeCO-EO / epsfig.sty
1 %%\r
2 %% This is file `epsfig.sty',\r
3 %% generated with the docstrip utility.\r
4 %%\r
5 %% The original source files were:\r
6 %%\r
7 %% epsfig.dtx  (with options: `package')\r
8 %% \r
9 %% epsfig.dtx Copyright (C) 1994-1996 1999 Sebastian Rahtz\r
10 %%\r
11 %% This file is part of the Standard LaTeX `Graphics Bundle'.\r
12 %% It may be distributed under the terms of the LaTeX Project Public\r
13 %% License, as described in lppl.txt in the base LaTeX distribution.\r
14 %% Either version 1.3 or, at your option, any later version.\r
15 %%\r
16 \NeedsTeXFormat{LaTeX2e}[1994/06/01]\r
17 \ProvidesPackage{epsfig}\r
18                   [1999/02/16 v1.7a (e)psfig emulation (SPQR)]\r
19 \DeclareOption*{\PassOptionsToPackage{\CurrentOption}{graphicx}}\r
20 \ProcessOptions\r
21 \RequirePackage{graphicx}\r
22 \def\psfig#1{%\r
23  \let\Gin@ewidth\Gin@exclamation\let\Gin@eheight\Gin@ewidth\r
24  \def\Gin@req@sizes{%\r
25    \def\Gin@scalex{1}\let\Gin@scaley\Gin@exclamation\r
26    \Gin@req@height\Gin@nat@height\r
27    \Gin@req@width\Gin@nat@width}%\r
28    \begingroup\r
29     \let\Gfigname\relax\r
30     \@tempswafalse\r
31     \toks@{\Ginclude@graphics{\Gfigname}}%\r
32     \setkeys{Gin}{#1}%\r
33     \Gin@esetsize\r
34     \ifx\Gfigname\relax\ErrorNoFile\else\r
35       \the\toks@\r
36     \fi\r
37   \endgroup}\r
38 \define@key{Gin}{figure}{\def\Gfigname{#1}}\r
39 \define@key{Gin}{file}{\def\Gfigname{#1}}\r
40 \define@key{Gin}{prolog}{\typeout{epsfig: header files are not needed}}\r
41 \define@key{Gin}{silent}[]{}\r
42 \def\psdraft{\Gin@drafttrue}\r
43 \def\psfull{\Gin@draftfalse}\r
44 \def\pssilent{\typeout{epsfig option `silent' ignored}}\r
45 \def\psnoisy{\typeout{epsfig option `noisy' ignored}}\r
46 \let\epsfig\psfig\r
47 \def\psfigdriver#1{\makeatletter\input{#1.def}\makeatother}\r
48 \newdimen\epsfxsize\r
49 \newdimen\epsfysize\r
50 \epsfysize\z@\r
51 \epsfxsize\z@\r
52 \def\epsfsize#1#2{\epsfxsize}\r
53 \def\epsfbox{%\r
54  \@ifnextchar[%\r
55   {\Gin@bboxtrue\epsf@bb@box}%\r
56   {\Gin@bboxfalse\epsf@box}%\r
57 }\r
58 \def\epsf@bb@box[#1#2]{%\r
59   \expandafter\Gread@parse@bb#1#2 \\\r
60   \epsf@box}\r
61 \def\epsf@box#1{%\r
62  \bgroup\r
63    \def\Gin@req@sizes{%\r
64         \epsfxsize\epsfsize{\Gin@nat@width}{\Gin@nat@height}%\r
65         \ifdim\epsfxsize=\z@\r
66             \ifdim\epsfysize=\z@\r
67                 \Gin@req@height\Gin@nat@height\r
68                 \Gin@req@width\Gin@nat@width\r
69             \else\r
70                 \let\Gin@scalex\Gin@exclamation\r
71                 \Gin@req@height\epsfysize\r
72                 \Gscale@div\Gin@scaley\Gin@req@height\Gin@nat@height\r
73                 \Gin@req@width\Gin@scaley\Gin@nat@width\r
74             \fi\r
75         \else\r
76             \Gin@req@width\epsfxsize\r
77             \Gscale@div\Gin@scalex\Gin@req@width\Gin@nat@width\r
78             \ifdim\epsfysize=\z@\r
79                 \let\Gin@scaley\Gin@exclamation\r
80                 \Gin@req@height\Gin@scalex\Gin@nat@height\r
81             \else\r
82                 \Gin@req@height\epsfysize\r
83                 \Gscale@div\Gin@scaley\Gin@req@height\Gin@nat@height\r
84             \fi\r
85         \fi\r
86       }%\r
87  \Ginclude@graphics{#1}%\r
88  \egroup\r
89  \epsfysize\z@\r
90  \epsfxsize\z@\r
91 }\r
92 \let\epsffile\epsfbox\r
93 \def\epsfclipon{\Gin@cliptrue}\r
94 \def\epsfclipoff{\Gin@clipfalse}\r
95 \def\epsfverbosetrue{\typeout{epsf verbose option ignored}}\r
96 \def\epsfverbosefalse{\typeout{epsf verbose option ignored}}\r
97 \r
98 \endinput\r
99 %%\r
100 %% End of file `epsfig.sty'.\r