%%
%%
\def\fileversion{v1.0}
\def\filedate{93/05/7}

\typeout{Style Option: `cmcyr'
  \fileversion\space <\filedate> (A. Harin)}
\@ifundefined{selectfont}
     {\@latexerr{`cmcyr' style option could only be used
                  with the new font selection scheme}\@eha
      \endinput}{}

\new@fontshape{cmcyr}{m}{n}{%
      <5>uczr5%
      <6>uczr6%
      <7>uczr7%
      <8>uczr8%
      <9>uczr9%
      <10>uczr10%
      <11>uczr10 at10.95pt%
      <12>uczr12%
      <14>uczr12 at14.4pt%
      <17>uczr17%
      <20>uczr17 at20.736pt%
      <25>uczr17 at24.8832pt}{}
\extra@def{cmcyr}{}{}
\new@fontshape{cmcyr}{m}{sl}{%
      <5>uczro8 at5pt%
      <6>uczro8 at6pt%
      <7>uczro8 at7pt%
      <8>uczro8%
      <9>uczro9%
      <10>uczro10%
      <11>uczro10 at10.95pt%
      <12>uczro12%
      <14>uczro12 at14.4pt%
      <17>uczro12 at17.28pt%
      <20>uczro12 at20.74pt%
      <25>uczro12 at24.88pt%
      }{}

\new@fontshape{cmcyr}{m}{it}{%
      <5>uczri7 at5pt%
      <6>uczri7 at6pt%
      <7>uczri7%
      <8>uczri8%
      <9>uczri9%
      <10>uczri10%
      <11>uczri10 at10.95pt%
      <12>uczri12%
      <14>uczri12 at14.4pt%
      <17>uczri12 at17.28pt%
      <20>uczri12 at20.74pt%
      <25>uczri12 at24.88pt%
      }{}

\new@fontshape{cmcyr}{m}{sc}{%
      <5>uczrc8 at5pt%
      <6>uczrc8 at6pt%
      <7>uczrc8 at7pt%
      <8>uczrc8%
      <9>uczrc9%
      <10>uczrc10%
      <11>uczrc10 at10.95pt%
      <12>uczrc10 at12pt%
      <14>uczrc10 at14.4pt%
      <17>uczrc10 at17.28pt%
      <20>uczrc10 at20.74pt%
      <25>uczrc10 at24.88pt%
      }{}
%%
%% Warning: please note that the upright shape below is used
%%          for the \pounds symbol of LaTeX. So this font
%%          definition shouldn't be removed.
%%
%          If cmu below 10pt is not available we substitute
%          cmti as far as possible (sizes 7, 8, 9). This is
%          done because cmu is used mainly for producing the
%          the \pound symbol and it is better to get a slanted
%          (or bigger) pound then to get a $ sign in such situations.
%%
\new@fontshape{cmcyr}{m}{u}{%
      <5>uczru10 at5pt%
      <6>uczru10 at6pt%
      <7>uczru10 at7pt%
      <8>uczru10 at8pt%
      <9>uczru10 at9pt%
      <10>uczru10%
      <11>uczru10 at10.95pt%
      <12>uczru10 at12pt%
      <14>uczru10 at14.4pt%
      <17>uczru10 at17.28pt%
      <20>uczru10 at20.74pt%
      <25>uczru10 at24.88pt%
      }{}

%%%%%%%% bold series

\new@fontshape{cmcyr}{b}{n}{%
      <5>uczb10 at5pt%
      <6>uczb10 at6pt%
      <7>uczb10 at7pt%
      <8>uczb10 at8pt%
      <9>uczb10 at9pt%
      <10>uczb10%
      <11>uczb10 at10.95pt%
      <12>uczb10 at12pt%
      <14>uczb10 at14.4pt%
      <17>uczb10 at17.28pt%
      <20>uczb10 at20.736pt%
      <25>uczb10 at24.8832pt%
      }{}

%%%%%%%%% bold extended series

\new@fontshape{cmcyr}{bx}{n}{%
      <5>uczbx5%
      <6>uczbx6%
      <7>uczbx7%
      <8>uczbx8%
      <9>uczbx9%
      <10>uczbx10%
      <11>uczbx10 at10.95pt%
      <12>uczbx12%
      <14>uczbx12 at14.4pt%
      <17>uczbx12 at17.28pt%
      <20>uczbx12 at20.74pt%
      <25>uczbx12 at24.88pt%
      }{}

\new@fontshape{cmcyr}{bx}{sl}{%
      <5>uczbox10 at5pt%
      <6>uczbox10 at6pt%
      <7>uczbox10 at7pt%
      <8>uczbox10 at8pt%
      <9>uczbox10 at9pt%
      <10>uczbox10%
      <11>uczbox10 at10.95pt%
      <12>uczbox10 at12pt%
      <14>uczbox10 at14.4pt%
      <17>uczbox10 at17.28pt%
      <20>uczbox10 at20.74pt%
      <25>uczbox10 at24.88pt%
      }{}

\new@fontshape{cmcyr}{bx}{it}{%
      <5>uczbix10 at5pt%
      <6>uczbix10 at6pt%
      <7>uczbix10 at7pt%
      <8>uczbix10 at8pt%
      <9>uczbix10 at9pt%
      <10>uczbix10%
      <11>uczbix10 at10.95pt%
      <12>uczbix10 at12pt%
      <14>uczbix10 at14.4pt%
      <17>uczbix10 at17.28pt%
      <20>uczbix10 at20.74pt%
      <25>uczbix10 at24.88pt%
      }{}

%% Again this is necessary for a correct \pound symbol in the cmr fonts
%% Hopefully the dc/ec font layout will take over soon.
%%

\subst@fontshape{cmcyr}{bx}{u}{cmcyr}{m}{u}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%%  Sans serif font shapes
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\new@fontshape{cmcss}{m}{n}{%
      <5>uczrs8 at5pt%
      <6>uczrs8 at6pt%
      <7>uczrs8 at7pt%
      <8>uczrs8%
      <9>uczrs9%
      <10>uczrs10%
      <11>uczrs10 at10.95pt%
      <12>uczrs12%
      <14>uczrs12 at14.4pt%
      <17>uczrs17%
      <20>uczrs17 at20.74pt%
      <25>uczrs17 at24.88pt%
      }{}


\subst@fontshape{cmcss}{m}{it}{cmcss}{m}{sl}

\new@fontshape{cmcss}{m}{sl}{%
      <5>uczris8 at5pt%
      <6>uczris8 at6pt%
      <7>uczris8 at7pt%
      <8>uczris8%
      <9>uczris9%
      <10>uczris10%
      <11>uczris10 at10.95pt%
      <12>uczris12%
      <14>uczris12 at14.4pt%
      <17>uczris17%
      <20>uczris17 at20.74pt%
      <25>uczris17 at24.88pt%
      }{}

%%%%%%% Font/shape undefined, therefore substituted

\subst@fontshape{cmcss}{m}{sc}{cmcyr}{m}{sc}

%%%%%%%% semibold condensed series

\new@fontshape{cmcss}{sbc}{n}{%
      <5>uczdsc10 at5pt%
      <6>uczdsc10 at6pt%
      <7>uczdsc10 at7pt%
      <8>uczdsc10 at8pt%
      <9>uczdsc10 at9pt%
       <10>uczdsc10%
       <11>uczdsc10 at10.95pt%
       <12>uczdsc10 at12pt%
       <14>uczdsc10 at14.4pt%
       <17>uczdsc10 at17.28pt%
       <20>uczdsc10 at20.74pt%
       <25>uczdsc10 at24.88pt%
       }{}

%%%%%%%%% bold extended series

\new@fontshape{cmcss}{bx}{n}{%
      <5>uczbsx10 at5pt%
      <6>uczbsx10 at6pt%
      <7>uczbsx10 at7pt%
      <8>uczbsx10 at8pt%
      <9>uczbsx10 at9pt%
      <10>uczbsx10%
      <11>uczbsx10 at10.95pt%
      <12>uczbsx10 at12pt%
      <14>uczbsx10 at14.4pt%
      <17>uczbsx10 at17.28pt%
      <20>uczbsx10 at20.74pt%
      <25>uczbsx10 at24.88pt%
      }{}

\extra@def{cmcss}{}{}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%%  Typewriter font shapes
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\new@fontshape{cmctt}{m}{n}{%
      <5>uczrt8 at5pt%
      <6>uczrt8 at6pt%
      <7>uczrt8 at7pt%
      <8>uczrt8%
      <9>uczrt9%
      <10>uczrt10%
      <11>uczrt10 at10.95pt%
      <12>uczrt12%
      <14>uczrt12 at14.4pt%
      <17>uczrt12 at17.28pt%
      <20>uczrt12 at20.74pt%
      <25>uczrt12 at24.88pt%
      }{}

\new@fontshape{cmctt}{m}{it}{%
      <5>uczrit10 at5pt%
      <6>uczrit10 at6pt%
      <7>uczrit10 at7pt%
      <8>uczrit10 at8pt%
      <9>uczrit10 at9pt%
      <10>uczrit10%
      <11>uczrit10 at10.95pt%
      <12>uczrit10 at12pt%
      <14>uczrit10 at14.4pt%
      <17>uczrit10 at17.28pt%
      <20>uczrit10 at20.74pt%
      <25>uczrit10 at24.88pt%
      }{}

\new@fontshape{cmctt}{m}{sl}{%
      <5>uczrot10 at5pt%
      <6>uczrot10 at6pt%
      <7>uczrot10 at7pt%
      <8>uczrot10 at8pt%
      <9>uczrot10 at9pt%
      <10>uczrot10%
      <11>uczrot10 at10.95pt%
      <12>uczrot10 at12pt%
      <14>uczrot10 at14.4pt%
      <17>uczrot10 at17.28pt%
      <20>uczrot10 at20.74pt%
      <25>uczrot10 at24.88pt%
      }{}

\new@fontshape{cmctt}{m}{sc}{%
      <5>uczrct10 at5pt%
      <6>uczrct10 at6pt%
      <7>uczrct10 at7pt%
      <8>uczrct10 at8pt%
      <9>uczrct10 at9pt%
      <10>uczrct10%
      <11>uczrct10 at10.95pt%
      <12>uczrct10 at12pt%
      <14>uczrct10 at14.4pt%
      <17>uczrct10 at17.28pt%
      <20>uczrct10 at20.74pt%
      <25>uczrct10 at24.88pt%
      }{}

\extra@def{cmctt}{\hyphenchar #1\m@ne}{}

\renewcommand{\rmdefault}{cmcyr}
\renewcommand{\sfdefault}{cmcss}
\renewcommand{\ttdefault}{cmctt}
\let\@dqtmp\"
\def\"#1{{\def\@tmpzzz{#1}\def\@tmpye{�}\def\@tmplt{<}\def\@tmpgt{>}%
        \if\@tmpzzz\@tmpye\char'361%
	\else\if\@tmpzzz\@tmplt\char'372%
	\else\if\@tmpzzz\@tmpgt\char'373%
	\else\@dqtmp#1\fi\fi\fi%
        \let\@tmpzzz\relax\let\@tmpye\relax\let\@tmplt\relax\let\@tmpgt\relax}}
\def\No{{\char'374}}
