| 1 |
%% |
| 2 |
%% This is file `tcidvi.def', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% drivers.dtx (with options: `tcidvi,color4,nops') |
| 8 |
%% |
| 9 |
%% drivers.dtx Copyright (C) 1994 David Carlisle Sebastian Rahtz |
| 10 |
%% Copyright (C) 1995 1996 1997 1998 1999 David Carlisle |
| 11 |
%% Copyright (C) 2000-2026 LaTeX Project |
| 12 |
%% The LaTeX Project and any individual authors listed elsewhere |
| 13 |
%% in this file. |
| 14 |
%% |
| 15 |
%% This file is part of the Standard LaTeX `Graphics Bundle'. |
| 16 |
%% It may be distributed under the terms of the LaTeX Project Public |
| 17 |
%% License, as described in lppl.txt in the base LaTeX distribution. |
| 18 |
%% Either version 1.3 or, at your option, any later version. |
| 19 |
%% |
| 20 |
\ProvidesFile{tcidvi.def} |
| 21 |
[2016/06/17 v3.0m Driver-dependent file (DPC,SPQR)] |
| 22 |
\def\c@lor@arg#1{% |
| 23 |
\dimen@#1\p@ |
| 24 |
\ifdim\dimen@<\z@\dimen@\maxdimen\fi |
| 25 |
\ifdim\dimen@>\p@ |
| 26 |
\PackageError{color}{Argument `#1' not in range [0,1]}\@ehd |
| 27 |
\fi} |
| 28 |
\def\color@gray#1#2{% |
| 29 |
\c@lor@arg{#2}% |
| 30 |
\c@lor@rgb@RGB\@tempa |
| 31 |
\edef#1{\@tempa\@tempa\@tempa}% |
| 32 |
} |
| 33 |
\def\color@cmyk#1#2{\c@lor@@cmyk#2\@@#1} |
| 34 |
\def\c@lor@@cmyk#1,#2,#3,#4\@@#5{% |
| 35 |
\c@lor@arg{#4}% |
| 36 |
\dimen@ii#4\p@ |
| 37 |
\c@lor@arg{#1}% |
| 38 |
\c@lor@cmyk@RGB\@tempa |
| 39 |
\c@lor@arg{#2}% |
| 40 |
\c@lor@cmyk@RGB\@tempb |
| 41 |
\c@lor@arg{#3}% |
| 42 |
\c@lor@cmyk@RGB\@tempc |
| 43 |
\edef#5{\@tempa\@tempb\@tempc}% |
| 44 |
} |
| 45 |
\def\c@lor@cmyk@RGB#1{% |
| 46 |
\advance\dimen@-\p@ |
| 47 |
\advance\dimen@\dimen@ii |
| 48 |
\dimen@-\@cclv\dimen@ |
| 49 |
\divide\dimen@\p@ |
| 50 |
\count@\ifdim\dimen@<\z@\z@\else\dimen@\fi |
| 51 |
\edef#1{\the\count@\space}} |
| 52 |
\def\color@rgb#1#2{\c@lor@@rgb#2\@@#1} |
| 53 |
\def\c@lor@@rgb#1,#2,#3\@@#4{% |
| 54 |
\c@lor@arg{#1}% |
| 55 |
\c@lor@rgb@RGB\@tempa |
| 56 |
\c@lor@arg{#2}% |
| 57 |
\c@lor@rgb@RGB\@tempb |
| 58 |
\c@lor@arg{#3}% |
| 59 |
\c@lor@rgb@RGB\@tempc |
| 60 |
\edef#4{\@tempa\@tempb\@tempc}% |
| 61 |
} |
| 62 |
\def\c@lor@rgb@RGB#1{% |
| 63 |
\dimen@\@cclv\dimen@ |
| 64 |
\count@\dimen@ |
| 65 |
\divide\count@\p@ |
| 66 |
\edef#1{\the\count@\space}} |
| 67 |
\def\color@RGB#1#2{\c@lor@@RGB#2\@@#1} |
| 68 |
\def\c@lor@@RGB#1,#2,#3\@@#4{% |
| 69 |
\edef#4{#1 #2 #3}% |
| 70 |
} |
| 71 |
\def\color@named#1#2{\c@lor@@named#2,,\@@#1} |
| 72 |
\def\c@lor@@named#1,#2,#3\@@#4{% |
| 73 |
\@ifundefined{col@#1}% |
| 74 |
{\PackageError{color}{Undefined color `#1'}\@ehd}% |
| 75 |
{\edef#4{\csname col@#1\endcsname}}% |
| 76 |
} |
| 77 |
\def\c@lor@to@ps#1#2 #3 #4\@@{% |
| 78 |
#1#2 255 div #3 255 div #4 255 div setrgbcolor} |
| 79 |
\def\current@color{0 0 0} |
| 80 |
\def\set@color{% |
| 81 |
\special{textcolor: \current@color}\aftergroup\reset@color} |
| 82 |
\def\reset@color{\special{textcolor: \current@color}} |
| 83 |
\def\set@page@color{% |
| 84 |
\c@lor@special\sixt@@n{background color ignored: \current@color}} |
| 85 |
\def\define@color@named#1#2{% |
| 86 |
\expandafter\edef\csname col@#1\endcsname{#2}} |
| 87 |
\AtBeginDocument{\def\color@block#1#2#3{% |
| 88 |
{\rlap{\ifcolors@ |
| 89 |
\@defaultunits\count@\current@color\@nnil |
| 90 |
\dimen@\count@\p@ |
| 91 |
\divide\dimen@\@cclv |
| 92 |
\dimen@ii#2% |
| 93 |
\advance\dimen@ii#3% |
| 94 |
\lower#3\hbox{% |
| 95 |
\special{language "Scientific Word";% |
| 96 |
type "greybox";% |
| 97 |
greyscale \strip@pt\dimen@;% |
| 98 |
height \the\dimen@ii;% |
| 99 |
width \the#1;% |
| 100 |
depth 0pt;}}% |
| 101 |
\fi}}}} |
| 102 |
\def\Ginclude@eps#1{% |
| 103 |
\message{<#1>}% |
| 104 |
\raise\Gin@req@height\hbox{% |
| 105 |
\ifx\Gin@ollx\@undefined |
| 106 |
\else |
| 107 |
\@tempdimb \Gin@ourx bp% |
| 108 |
\advance\@tempdimb-\Gin@ollx bp% |
| 109 |
\@tempdima\Gin@llx bp% |
| 110 |
\advance\@tempdima-\Gin@ollx bp% |
| 111 |
\Gscale@div\TCI@cropleft\@tempdima\@tempdimb |
| 112 |
\@tempdima\Gin@urx bp% |
| 113 |
\advance\@tempdima-\Gin@ollx bp% |
| 114 |
\Gscale@div\TCI@cropright\@tempdima\@tempdimb |
| 115 |
\@tempdimb \Gin@oury bp% |
| 116 |
\advance\@tempdimb-\Gin@olly bp% |
| 117 |
\@tempdima\Gin@lly bp% |
| 118 |
\advance\@tempdima-\Gin@olly bp% |
| 119 |
\Gscale@div\TCI@cropbottom\@tempdima\@tempdimb |
| 120 |
\@tempdima\Gin@ury bp% |
| 121 |
\advance\@tempdima-\Gin@olly bp% |
| 122 |
\Gscale@div\TCI@croptop\@tempdima\@tempdimb |
| 123 |
\fi |
| 124 |
\special{% |
| 125 |
language \TCI@language;% |
| 126 |
type \TCI@type;% |
| 127 |
valid_file \TCI@validfile;% |
| 128 |
width \the\Gin@req@width;% |
| 129 |
height \the\Gin@req@height;% |
| 130 |
depth 0pt;% |
| 131 |
original-width \the\Gin@nat@width;% |
| 132 |
original-height \the\Gin@nat@height;% |
| 133 |
cropleft "\TCI@cropleft";% |
| 134 |
croptop "\TCI@croptop";% |
| 135 |
cropright "\TCI@cropright";% |
| 136 |
cropbottom "\TCI@cropbottom";% |
| 137 |
filename '#1';% |
| 138 |
\ifx\TCI@temp\@empty\else tempfilename \TCI@temp;\fi |
| 139 |
}}} |
| 140 |
\def\TCI@language{"Scientific Word"} |
| 141 |
\def\TCI@type{"GRAPHIC"} |
| 142 |
\def\TCI@validfile{'F'} |
| 143 |
\def\TCI@cropleft{0} |
| 144 |
\def\TCI@croptop{1} |
| 145 |
\def\TCI@cropright{1} |
| 146 |
\def\TCI@cropbottom{0} |
| 147 |
\let\TCI@temp\@empty |
| 148 |
\let\Ginclude@bmp\Ginclude@eps |
| 149 |
\def\Gin@extensions{} |
| 150 |
\@namedef{Gin@[email protected]}#1{{eps}{.ps}{#1}} |
| 151 |
\@namedef{Gin@[email protected]}#1{{eps}{.eps}{#1}} |
| 152 |
\@namedef{Gin@[email protected]}#1{{eps}{.PS}{#1}} |
| 153 |
\@namedef{Gin@[email protected]}#1{{eps}{.EPS}{#1}} |
| 154 |
\@namedef{Gin@rule@*}#1{{bmp}{\Gin@ext}{#1}} |
| 155 |
\def\Gin@PS@raw#1{} |
| 156 |
\def\Gin@PS@restored#1{} |
| 157 |
\def\Gin@PS@literal@header#1{} |
| 158 |
\def\Gin@PS@file@header#1{} |
| 159 |
\endinput |
| 160 |
%% |
| 161 |
%% End of file `tcidvi.def'. |