File: graphics.plt

package info (click to toggle)
tralics 2.14.4-2
  • links: PTS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch, wheezy
  • size: 17,152 kB
  • ctags: 8,260
  • sloc: cpp: 49,403; xml: 18,145; sh: 140; makefile: 118
file content (64 lines) | stat: -rw-r--r-- 1,745 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
%%%  -*- latex -*-
\ProvidesPackage{graphics}[2008/11/06 v1.0  Graphics in Tralics]
%% $Id: graphics.plt,v 2.1 2008/11/13 14:13:38 grimm Exp $
%% TRALICS, copyright (C) INRIA/apics (Jose' Grimm) 2008
%% Licensed under the CeCILL free software license 
%% (See the file COPYING in the main directory for details)


\DeclareOption{draft}{}
\DeclareOption{final}{}
\DeclareOption{hiresbb}{}
\DeclareOption{demo}{}
\DeclareOption{debugshow}{}
\DeclareOption{hiderotate}{}
\DeclareOption{hidescale}{}

\DeclareOption{dvips}{}
\DeclareOption{xdvi}{}
\DeclareOption{dvipdf}{}
\DeclareOption{dvipdfm}{}
\DeclareOption{dvipdfmx}{}
\DeclareOption{xetex}{}
\DeclareOption{pdftex}{}
\DeclareOption{dvipsone}{}
\DeclareOption{dviwindo}{}
\DeclareOption{emtex}{}
\DeclareOption{dviwin}{}
\DeclareOption{oztex}{}
\DeclareOption{textures}{}
\DeclareOption{pctexps}{}
\DeclareOption{pctexwin}{}
\DeclareOption{pctexhp}{}
\DeclareOption{pctex32}{}
\DeclareOption{truetex}{}
\DeclareOption{tcidvi}{}
\DeclareOption{vtex}{}

\ProcessOptions
\def\reflectbox{\scalebox{-1}[1]}
\def\graphicspath#1{}
\def\DeclareGraphicsExtensions#1{}
\def\DeclareGraphicsRule#1#2#3#4{}

\def\resizebox{%
  \leavevmode
  \@ifstar{\Gscale@@box{total}}{\Gscale@@box{}}}

\def\Gin@exclamation{!}
\def\Gscale@@box#1#2#3#4{%
  \xbox{resizebox}{%
    \let\@tempa\Gin@exclamation
    \def\height{0pt}\def\width{0pt}\def\totalheight{0pt}%
    \expandafter\def\expandafter\@tempb\expandafter{\string#2}%
    \expandafter\def\expandafter\@tempc\expandafter{\string#3}%
    \unless\ifx\@tempb\@tempa
    \setlength\@tempdima{#2}\XMLaddatt{width}{\the\@tempdima}%
    \fi
    \unless\ifx\@tempc\@tempa
    \setlength\@tempdima{#3}\XMLaddatt{#1height}{\the\@tempdima}%
    \fi
    #4}}

\endinput