%% 
%% This is file `color.sty', generated on <1994/7/28> 
%% with the docstrip utility (2.2h).
%% 
%% The original source files were:
%% 
%% color.dtx  (with options: `package')
%% 
%% IMPORTANT NOTICE:
%% You are not allowed to distribute this file.
%% For distribution of the original source see
%% the copyright notice in the file color.dtx .
%% 
%% color.dtx Copyright (C) 1994 David Carlisle
\NeedsTeXFormat{LaTeX2e}[1994/05/13]
\ProvidesPackage{color}
         [1994/05/14 v0.2e Standard LaTeX Color (DPC)]
\DeclareOption{ref0}{\input{ref0.col}}
\DeclareOption{ref1}{\input{ref1.col}}
\DeclareOption{ref2}{\input{ref2.col}}
\DeclareOption{ref2b}{\input{ref2b.col}}
\DeclareOption{ref3}{\input{ref3.col}}
\DeclareOption{monochrome}{\input{ref0.col}\colors@false}
\DeclareOption{literalPS}{%
  \input{ref3.col}%
  \let\@ldc@l@r\color
  \def\color{\if@inlabel\leavevmode\fi\@ldc@l@r}%
  \let\@ldtextc@l@r\textcolor
  \def\textcolor{\if@inlabel\leavevmode\fi\@ldtextc@l@r}%
  \let\@lduseb@x\usebox
  \def\usebox##1{\@lduseb@x{##1}\set@color}}
\DeclareOption{dvips}{\input{dvips.def}}
\DeclareOption{dvgt}{\input{dvgt.def}}
\DeclareOption{dvi2ps}{\input{dvi2ps.def}}
\DeclareOption{dvialw}{\input{dvialw.def}}
\DeclareOption{dvilaser}{\input{dvilaser.def}}
\DeclareOption{dvipsone}{\input{dvipsone.def}}
\DeclareOption{dvitops}{\input{dvitops.def}}
\DeclareOption{dviwindo}{\input{dviwindo.def}}
\DeclareOption{dvitps}{\input{dvitps.def}}
\DeclareOption{emtex}{\input{emtex.def}}
\DeclareOption{dviwin}{\input{dviwin.def}}
\DeclareOption{oztex}{\input{oztex.def}}
\DeclareOption{psprint}{\input{psprint.def}}
\DeclareOption{pubps}{\input{pubps.def}}
\DeclareOption{textures}{\input{textures.def}}
\InputIfFileExists{color.cfg}{}{}
\def\color{%
  \@ifnextchar[\@undeclaredcolor\@declaredcolor}
\def\@undeclaredcolor[#1]#2{%
  \expandafter\ifx\csname color@#1\endcsname\relax
    \@latexerr{Undefined color model. `#1'}\@ehd
  \else
    \csname color@#1\endcsname{#2}%
  \fi
  \ignorespaces}
\def\@declaredcolor#1{%
  \@ifundefined{\string\color @#1}%
    {\@latexerr{Undefined color `#1'}\@ehd}%
    {\csname\string\color @#1\endcsname}%
  \ignorespaces}
\def\textcolor{%
  \@ifnextchar[\text@ud@color\text@d@color}
\long\def\text@ud@color[#1]#2#3{{\@undeclaredcolor[#1]{#2}#3}}
\long\def\text@d@color#1#2{{\@declaredcolor{#1}#2}}
\def\pagecolor{%
  \begingroup
      \let\ignorespaces\endgroup
      \def\set@color{\set@page@color}%
      \@ifnextchar[\@undeclaredcolor\@declaredcolor}
\def\definecolor#1#2#3{%
  \@ifundefined{definecolor@#2}%
    {\@latexerr{Undefined color model `#2'}\@ehd}%
    {\csname definecolor@#2\endcsname{#1}{#3}}}
\newif\ifcolors@
\colors@true

\ProcessOptions
\def\normalcolor{\let\current@color\default@color\set@color}
\AtBeginDocument{\let\default@color\current@color}
\def\color@block#1#2#3{%
  {\set@color\rlap{\ifcolors@\vrule\@width#1\@height#2\@depth#3\fi}}}
\def\colorbox{\leavevmode
  \@ifnextchar[\box@ud@color\box@d@color}
\long\def\box@ud@color[#1]#2#3{%
 \setbox\z@\hbox{\kern\fboxsep{#3}\kern\fboxsep}%
 \dimen@\ht\z@\advance\dimen@\fboxsep\ht\z@\dimen@
 \dimen@\dp\z@\advance\dimen@\fboxsep\dp\z@\dimen@
 {\@undeclaredcolor[#1]{#2}\color@block{\wd\z@}{\ht\z@}{\dp\z@}}%
 \box\z@}
\long\def\box@d@color#1#2{%
 \setbox\z@\hbox{\kern\fboxsep{#2}\kern\fboxsep}%
 \dimen@\ht\z@\advance\dimen@\fboxsep\ht\z@\dimen@
 \dimen@\dp\z@\advance\dimen@\fboxsep\dp\z@\dimen@
 {\@declaredcolor{#1}\color@block{\wd\z@}{\ht\z@}{\dp\z@}}%
 \box\z@}
\def\fcolorbox{\leavevmode
  \@ifnextchar[\fbox@ud@color\fbox@d@color}
\long\def\fbox@ud@color[#1]#2#3#4{%
 \setbox\z@\hbox{\kern\fboxsep{\set@color#4}\kern\fboxsep}%
 \dimen@\ht\z@\advance\dimen@\fboxsep\ht\z@\dimen@
 \dimen@\dp\z@\advance\dimen@\fboxsep\dp\z@\dimen@
 {\fboxsep\z@\@undeclaredcolor[#1]{#2}%
    \fbox{%
      {\@undeclaredcolor[#1]{#3}\color@block{\wd\z@}{\ht\z@}{\dp\z@}}%
      \box\z@}}}
\long\def\fbox@d@color#1#2#3{%
 \setbox\z@\hbox{\kern\fboxsep{\set@color#3}\kern\fboxsep}%
 \dimen@\ht\z@\advance\dimen@\fboxsep\ht\z@\dimen@
 \dimen@\dp\z@\advance\dimen@\fboxsep\dp\z@\dimen@
 {\fboxsep\z@\@declaredcolor{#1}%
    \fbox{%
      {\@declaredcolor{#2}\color@block{\wd\z@}{\ht\z@}{\dp\z@}}%
      \box\z@}}}
\def\color@setgroup{\begingroup\set@color}
\let\color@begingroup\begingroup
\def\color@endgroup{\endgraf\endgroup}
\def\underbar#1{%
  $\setbox\z@\hbox{\color@begingroup#1\color@endgroup}%
  \dp\z@\z@\m@th\underline{\box\z@}$}
\def\makeph@nt#1{%
  \setbox\z@\hbox{\color@begingroup#1\color@endgroup}\finph@nt}
\def\makesm@sh#1{%
  \setbox\z@\hbox{\color@begingroup#1\color@endgroup}\finsm@sh}
\def\showhyphens#1{\setbox0\vbox{%
  \color@begingroup
  \parfillskip\z@skip\hsize\maxdimen
  \reset@font
  \pretolerance\m@ne\tolerance\m@ne\hbadness0\showboxdepth0\ %
    #1%
  \color@endgroup}}
\long\def\@savemarbox#1#2{%
  \global\sbox#1{\vtop{\hsize\marginparwidth
   \@parboxrestore #2}}}
\ifx\definecolor@gray\@undefined
  \ifx\definecolor@rgb\@undefined
  \else
    \definecolor@rgb{black}{0,0,0}
    \definecolor@rgb{white}{1,1,1}
  \fi
\else
  \definecolor@gray{black}{0}
  \definecolor@gray{white}{1}
\fi
\ifx\definecolor@rgb\@undefined\else
  \definecolor@rgb{red}{1,0,0}
  \definecolor@rgb{green}{0,1,0}
  \definecolor@rgb{blue}{0,0,1}
\fi
\ifx\definecolor@cmyk\@undefined\else
  \definecolor@cmyk{cyan}{1,0,0,0}
  \definecolor@cmyk{magenta}{0,1,0,0}
  \definecolor@cmyk{yellow}{0,0,1,0}
\fi
\endinput
%% 
%% End of file `color.sty'.
