%%
%% This is file `cmcyr.sty'
%% Modified for use with DVIps
\def\fileversion{1.1}
\def\filedate{94/09/16}
\def\docdate {}

\expandafter\ifx\csname daterussian\endcsname\else\endinput\fi
\typeout{Style Option: `cmcyr'
  \fileversion\space <\filedate>}
%\typeout{English Documentation:
%  \@spaces\space <\docdate>}

%\def\@fonterr#1#2{%
%\edef\@tempc{#2}\expandafter\errhelp\expandafter{\@tempc}%
%\typeout{Font Selection error.^^J
% Type \space H <return> \space for  immediate help.}\errmessage{#1}}
%
\wlog{Style Option: `cmcyr'  \fileversion\space <\filedate>}
\expandafter\ifx\csname selectfont\endcsname
        \typeout{The `cmcyr' style option can only be used
                 ^^Jwith the new font selection scheme.}\endinput\fi
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%%        Cyrillic
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%+
%     Medium weight series
%-
%
%    Cyrillic-Regular
%
\new@fontshape{cyr}{m}{n}{%
    <5>cmcyr10  at4.82pt%
    <6>cmcyr10  at6pt%
    <7>cmcyr10  at6.94pt%
    <8>cmcyr10  at8.33pt%
    <9>cmcyr10  at9pt%
    <10>cmcyr10 at10pt%
    <11>cmcyr10 at10.95pt%
    <12>cmcyr10 at12pt%
    <14>cmcyr10 at14.4pt%
    <17>cmcyr10 at17.28pt%
    <20>cmcyr10 at20.74pt%
    <25>cmcyr10 at24.88pt%
    }{}
%
%    Cyrillic-SansSerif
%
%\new@fontshape{cyr}{m}{sf}{%
%    <5>cmcss10  at4.82pt%
%    <6>cmcss10  at5.79pt%
%    <7>cmcss10  at6.94pt%
%    <8>cmcss10  at8.33pt%
%    <9>cmcss10  at9pt%
%    <10>cmcss10 at10pt%
%    <11>cmcss10 at10.95pt%
%    <12>cmcss10 at12pt%
%    <14>cmcss10 at14.4pt%
%    <17>cmcss10 at17.28pt%
%    <20>cmcss10 at20.74pt%
%    <25>cmcss10 at24.88pt%
%    }{}
%
%    Cyrillic-Italic
%
\new@fontshape{cyr}{m}{it}{%
    <5>cmcti10  at4.82pt%
    <6>cmcti10  at5.79pt%
    <7>cmcti10  at6.94pt%
    <8>cmcti10  at8.33pt%
    <9>cmcti10  at9pt%
    <10>cmcti10 at10pt%
    <11>cmcti10 at10.95pt%
    <12>cmcti10 at12pt%
    <14>cmcti10 at14.4pt%
    <17>cmcti10 at17.28pt%
    <20>cmcti10 at20.74pt%
    <25>cmcti10 at24.88pt%
    }{}
%
%    Cyrillic-Slanted
%
\new@fontshape{cyr}{m}{sl}{%
    <5>cmcsl10  at4.82pt%
    <6>cmcsl10  at5.79pt%
    <7>cmcsl10  at6.94pt%
    <8>cmcsl10  at8.33pt%
    <9>cmcsl10  at9pt%
    <10>cmcsl10 at10pt%
    <11>cmcsl10 at10.95pt%
    <12>cmcsl10 at12pt%
    <14>cmcsl10 at14.4pt%
    <17>cmcsl10 at17.28pt%
    <20>cmcsl10 at20.74pt%
    <25>cmcsl10 at24.88pt%
    }{}
%
%    Cyrillic-TypewriterType
%
\new@fontshape{cyr}{m}{tt}{%
    <5>cmctt10  at4.82pt%
    <6>cmctt10  at5.79pt%
    <7>cmctt10  at6.94pt%
    <8>cmctt10  at8.33pt%
    <9>cmctt10  at9pt%
    <10>cmctt10 at10pt%
    <11>cmctt10 at10.95pt%
    <12>cmctt10 at12pt%
    <14>cmctt10 at14.4pt%
    <17>cmctt10 at17.28pt%
    <20>cmctt10 at20.74pt%
    <25>cmctt10 at24.88pt%
    }{}
%+
%     The bold weight series
%-
%
%    Cyrillic-Bold
%
\new@fontshape{cyr}{b}{n}{%
    <5>cmcbx10  at4.82pt%
    <6>cmcbx10  at5.79pt%
    <7>cmcbx10  at6.94pt%
    <8>cmcbx10  at8.33pt%
    <9>cmcbx10  at9pt%
    <10>cmcbx10 at10pt%
    <11>cmcbx10 at10.95pt%
    <12>cmcbx10 at12pt%
    <14>cmcbx10 at14.4pt%
    <17>cmcbx10 at17.28pt%
    <20>cmcbx10 at20.74pt%
    <25>cmcbx10 at24.88pt%
    }{}
%
%    Cyrillic-BoldItalic
%
\new@fontshape{cyr}{b}{it}{%
    <5>cmcbxti1  at4.82pt%
    <6>cmcbxti1  at5.79pt%
    <7>cmcbxti1  at6.94pt%
    <8>cmcbxti1  at8.33pt%
    <9>cmcbxti1  at9pt%
    <10>cmcbxti1 at10pt%
    <11>cmcbxti1 at10.95pt%
    <12>cmcbxti1 at12pt%
    <14>cmcbxti1 at14.4pt%
    <17>cmcbxti1 at17.28pt%
    <20>cmcbxti1 at20.74pt%
    <25>cmcbxti1 at24.88pt%
    }{}
%
%    Cyrillic-BoldSlanted
%
\new@fontshape{cyr}{b}{sl}{%
    <5>cmcbxsl1  at4.82pt%
    <6>cmcbxsl1  at5.79pt%
    <7>cmcbxsl1  at6.94pt%
    <8>cmcbxsl1  at8.33pt%
    <9>cmcbxsl1  at9pt%
    <10>cmcbxsl1 at10pt%
    <11>cmcbxsl1 at10.95pt%
    <12>cmcbxsl1 at12pt%
    <14>cmcbxsl1 at14.4pt%
    <17>cmcbxsl1 at17.28pt%
    <20>cmcbxsl1 at20.74pt%
    <25>cmcbxsl1 at24.88pt%
    }{}
%
%    Cyrillic-BoldSansSerif
%
\new@fontshape{cyr}{b}{sf}{%
    <5>cmcssdc1  at4.82pt%
    <6>cmcssdc1  at5.79pt%
    <7>cmcssdc1  at6.94pt%
    <8>cmcssdc1  at8.33pt%
    <9>cmcssdc1  at9pt%
    <10>cmcssdc1 at10pt%
    <11>cmcssdc1 at10.95pt%
    <12>cmcssdc1 at12pt%
    <14>cmcssdc1 at14.4pt%
    <17>cmcssdc1 at17.28pt%
    <20>cmcssdc1 at20.74pt%
    <25>cmcssdc1 at24.88pt%
    }{}

\extra@def{cyr}{}{}

\def\graffiti{\protect\pgraffiti}
\def\@makefnmark{\raise 1ex\hbox{\scriptsize\@thefnmark}}

%+
%    Now make these fonts the defaults??
%-
\gdef\cyrmode{%
\def\pgraffiti{\family{cyr}\series{c}\shape{sl}\size{9}{10pt}\selectfont}%
   \chardef\Zh='021%
   \chardef\zh='031%
   \chardef\Ui='022%
   \chardef\ui='032%
   \chardef\Kh='110%
   \chardef\kh='150%
   \chardef\Ts='103%
   \chardef\ts='143%
   \chardef\Ch='121%
   \chardef\ch='161%
   \chardef\Sh='130%
   \chardef\sh='170%
   \chardef\Shch='127%
   \chardef\shch='167%
   \chardef\cDprime='137%
   \chardef\cdprime='176%
   \chardef\cPrime='136%
   \chardef\cprime='176%
   \chardef\Ee='003%
   \chardef\ee='013%
   \chardef\Yu='020%
   \chardef\yu='030%
   \chardef\Ya='027%
   \chardef\ya='037}
\gdef\transcyr{\family{cmr}\selectfont\@ifnextchar
   [{\@transcyr}{\@transcyr[n]}}
\def\@transcyr[#1]{\if #1s%
   \def\Zh{\v{Z}}%
   \def\zh{\v{z}}%
   \def\Ui{J}%
   \def\ui{j}%
   \def\Kh{Ch}%
   \def\kh{ch}%
   \def\Ts{C}%
   \def\ts{c}%
   \def\Ch{\v{C}}%
   \def\ch{\v{c}}%
   \def\Sh{\v{S}}%
   \def\sh{\v{s}}%
   \def\Shch{\v{S}\v{c}}%
   \def\shch{\v{s}\v{c}}%
   \def\cprime{\kern0pt'\kern0pt\relax}%
   \def\cPrime{\kern0pt'\kern0pt\relax}%
   \def\cdprime{\kern0pt'\kern0pt'\kern0pt\relax}%
   \def\cDprime{\kern0pt'\kern0pt'\kern0pt\relax}%
   \def\Ee{\`{E}}%
   \def\ee{\`{e}}%
   \def\Yu{\t{J}{u}}%
   \def\yu{\t{\j}{u}}%
   \def\Ya{\t{J}{a}}%
   \def\ya{\t{\j}{a}}%
\else\if #1n%
   \def\Zh{\t{Z}{h}}%
   \def\zh{\t{z}{h}}%
   \def\Ui{\t{U}{i}}%
   \def\ui{\t{u}{i}}%
   \def\Kh{\t{K}{h}}%
   \def\kh{\t{k}{h}}%
   \def\Ts{\t{T}{s}}%
   \def\ts{\t{t}{s}}%
   \def\Ch{\t{C}{h}}%
   \def\ch{\t{c}{h}}%
   \def\Sh{\t{S}{h}}%
   \def\sh{\t{s}{h}}%
   \def\Shch{\t{S}{h}\t{c}{h}}%
   \def\shch{\t{s}{h}\t{c}{h}}%
   \def\cprime{$^\prime$}%
   \def\cPrime{$\underline{^\prime}$}%
   \def\cDprime{$^{\prime\prime}$}%
   \def\cdprime{$\underline{^{\prime\prime}}$}%
   \def\Ee{\`{E}}%
   \def\ee{\`{e}}%
   \def\Yu{\t{Y}{u}}%
   \def\yu{\t{y}{u}}%
   \def\Ya{\t{Y}{a}}%
   \def\ya{\t{y}{a}}%
\fi\fi}
\gdef\cyr{\family{cyr}\selectfont\cyrmode\frenchpunctuation}
\endinput