\ProvidesPackage{cmsrb}[2019/08/16  v3.1 cmsrb]
\RequirePackage[TS1,T1,OT2,X2,T2A]{fontenc}
\renewcommand{\rmdefault}{cmsrbr}
\renewcommand{\sfdefault}{cmsrbs}
\renewcommand{\ttdefault}{cmsrbt}
\AtBeginDocument{
\DeclareTextComposite{\v}{OT2}{c}{113}
\DeclareTextComposite{\v}{OT2}{C}{81}
\DeclareTextComposite{\v}{OT2}{s}{120}
\DeclareTextComposite{\v}{OT2}{S}{88}
\DeclareTextComposite{\v}{OT2}{z}{25}
\DeclareTextComposite{\v}{OT2}{Z}{17}
\DeclareTextComposite{\'}{OT2}{c}{15}
\DeclareTextComposite{\'}{OT2}{C}{7}
\DeclareTextComposite{\'}{OT2}{g}{136}
\DeclareTextComposite{\'}{OT2}{G}{128}
\DeclareTextComposite{\'}{OT2}{z}{137}
\DeclareTextComposite{\'}{OT2}{Z}{129}
\DeclareTextComposite{\'}{OT2}{k}{138}
\DeclareTextComposite{\'}{OT2}{K}{130}
\DeclareTextComposite{\'}{OT2}{s}{139}
\DeclareTextComposite{\'}{OT2}{S}{131}
\DeclareTextSymbol{\dj}{OT2}{14}
\DeclareTextSymbol{\DJ}{OT2}{6}
\DeclareTextSymbol{\cyrgje}{OT2}{136}
\DeclareTextSymbol{\CYRGJE}{OT2}{128}
\DeclareTextSymbol{\cyrzje}{OT2}{137}
\DeclareTextSymbol{\CYRZJE}{OT2}{129}
\DeclareTextSymbol{\cyrkje}{OT2}{138}
\DeclareTextSymbol{\CYRKJE}{OT2}{130}
\DeclareTextSymbol{\cyrsje}{OT2}{139}
\DeclareTextSymbol{\CYRSJE}{OT2}{131}
\DeclareTextSymbolDefault{\cyrgje}{OT2}
\DeclareTextSymbolDefault{\CYRGJE}{OT2}
\DeclareTextSymbolDefault{\cyrzje}{OT2}
\DeclareTextSymbolDefault{\CYRZJE}{OT2}
\DeclareTextSymbolDefault{\cyrkje}{OT2}
\DeclareTextSymbolDefault{\CYRKJE}{OT2}
\DeclareTextSymbolDefault{\cyrsje}{OT2}
\DeclareTextSymbolDefault{\CYRSJE}{OT2}
\DeclareTextAccentDefault{\C}{T2A}
\DeclareTextAccentDefault{\f}{T2A}
\DeclareTextCompositeCommand{\'}{T2A}{\cyrg}{\cyrgje}
\DeclareTextCompositeCommand{\'}{T2A}{\CYRG}{\CYRGJE}
\DeclareTextCompositeCommand{\'}{T2A}{\cyrk}{\cyrkje}
\DeclareTextCompositeCommand{\'}{T2A}{\CYRK}{\CYRKJE}
\DeclareTextCompositeCommand{\'}{T2A}{\cyrs}{\cyrsje}
\DeclareTextCompositeCommand{\'}{T2A}{\CYRS}{\CYRSJE}
\DeclareTextCompositeCommand{\'}{T2A}{\cyrz}{\cyrzje}
\DeclareTextCompositeCommand{\'}{T2A}{\CYRZ}{\CYRZJE}
\DeclareTextCompositeCommand{\'}{X2}{\cyrg}{\cyrgje}
\DeclareTextCompositeCommand{\'}{X2}{\CYRG}{\CYRGJE}
\DeclareTextCompositeCommand{\'}{X2}{\cyrk}{\cyrkje}
\DeclareTextCompositeCommand{\'}{X2}{\CYRK}{\CYRKJE}
\DeclareTextCompositeCommand{\'}{X2}{\cyrs}{\cyrsje}
\DeclareTextCompositeCommand{\'}{X2}{\CYRS}{\CYRSJE}
\DeclareTextCompositeCommand{\'}{X2}{\cyrz}{\cyrzje}
\DeclareTextCompositeCommand{\'}{X2}{\CYRZ}{\CYRZJE}
\DeclareTextCommand{\CYRA}{T1}{A}
\DeclareTextCommand{\CYRB}{T1}{B}
\DeclareTextCommand{\CYRV}{T1}{V}
\DeclareTextCommand{\CYRG}{T1}{G}
\DeclareTextCommand{\CYRD}{T1}{D}
\DeclareTextCommand{\CYRDJE}{T1}{\DJ}
\DeclareTextCommand{\CYRE}{T1}{E}
\DeclareTextCommand{\CYRZH}{T1}{\v Z}
\DeclareTextCommand{\CYRZ}{T1}{Z}
\DeclareTextCommand{\CYRI}{T1}{I}
\DeclareTextCommand{\CYRJE}{T1}{J}
\DeclareTextCommand{\CYRK}{T1}{K}
\DeclareTextCommand{\CYRL}{T1}{L}
\DeclareTextCommand{\CYRLJE}{T1}{Lj}
\DeclareTextCommand{\CYRM}{T1}{M}
\DeclareTextCommand{\CYRN}{T1}{N}
\DeclareTextCommand{\CYRNJE}{T1}{Nj}
\DeclareTextCommand{\CYRO}{T1}{O}
\DeclareTextCommand{\CYRP}{T1}{P}
\DeclareTextCommand{\CYRR}{T1}{R}
\DeclareTextCommand{\CYRS}{T1}{S}
\DeclareTextCommand{\CYRT}{T1}{T}
\DeclareTextCommand{\CYRTSHE}{T1}{\'C}
\DeclareTextCommand{\CYRU}{T1}{U}
\DeclareTextCommand{\CYRF}{T1}{F}
\DeclareTextCommand{\CYRH}{T1}{H}
\DeclareTextCommand{\CYRC}{T1}{C}
\DeclareTextCommand{\CYRCH}{T1}{\v C}
\DeclareTextCommand{\CYRDZHE}{T1}{D\v z}
\DeclareTextCommand{\CYRSH}{T1}{\v S}
\DeclareTextCommand{\CYRGJE}{T1}{\'G}
\DeclareTextCommand{\CYRKJE}{T1}{\'K}
\DeclareTextCommand{\CYRZJE}{T1}{\'Z}
\DeclareTextCommand{\CYRSJE}{T1}{\'S}
\DeclareTextCommand{\CYRDZE}{T1}{Dz}
\DeclareTextCompositeCommand{\'}{T1}{\CYRG}{\CYRGJE}
\DeclareTextCompositeCommand{\'}{T1}{\CYRK}{\CYRKJE}
\DeclareTextCompositeCommand{\'}{T1}{\CYRS}{\CYRSJE}
\DeclareTextCompositeCommand{\'}{T1}{\CYRZ}{\CYRZJE}
\DeclareTextCommand{\cyra}{T1}{a}
\DeclareTextCommand{\cyrb}{T1}{b}
\DeclareTextCommand{\cyrv}{T1}{v}
\DeclareTextCommand{\cyrg}{T1}{g}
\DeclareTextCommand{\cyrd}{T1}{d}
\DeclareTextCommand{\cyrdje}{T1}{\dj}
\DeclareTextCommand{\cyre}{T1}{e}
\DeclareTextCommand{\cyrzh}{T1}{\v z}
\DeclareTextCommand{\cyrz}{T1}{z}
\DeclareTextCommand{\cyri}{T1}{i}
\DeclareTextCommand{\cyrje}{T1}{j}
\DeclareTextCommand{\cyrk}{T1}{k}
\DeclareTextCommand{\cyrl}{T1}{l}
\DeclareTextCommand{\cyrlje}{T1}{lj}
\DeclareTextCommand{\cyrm}{T1}{m}
\DeclareTextCommand{\cyrn}{T1}{n}
\DeclareTextCommand{\cyrnje}{T1}{nj}
\DeclareTextCommand{\cyro}{T1}{o}
\DeclareTextCommand{\cyrp}{T1}{p}
\DeclareTextCommand{\cyrr}{T1}{r}
\DeclareTextCommand{\cyrs}{T1}{s}
\DeclareTextCommand{\cyrt}{T1}{t}
\DeclareTextCommand{\cyrtshe}{T1}{\'c}
\DeclareTextCommand{\cyru}{T1}{u}
\DeclareTextCommand{\cyrf}{T1}{f}
\DeclareTextCommand{\cyrh}{T1}{h}
\DeclareTextCommand{\cyrc}{T1}{c}
\DeclareTextCommand{\cyrch}{T1}{\v c}
\DeclareTextCommand{\cyrdzhe}{T1}{d\v z}
\DeclareTextCommand{\cyrsh}{T1}{\v s}
\DeclareTextCommand{\cyrgje}{T1}{\'g}
\DeclareTextCommand{\cyrkje}{T1}{\'k}
\DeclareTextCommand{\cyrzje}{T1}{\'z}
\DeclareTextCommand{\cyrsje}{T1}{\'s}
\DeclareTextCommand{\cyrdze}{T1}{dz}
\DeclareTextCompositeCommand{\'}{T1}{\cyrg}{\cyrgje}
\DeclareTextCompositeCommand{\'}{T1}{\cyrk}{\cyrkje}
\DeclareTextCompositeCommand{\'}{T1}{\cyrs}{\cyrsje}
\DeclareTextCompositeCommand{\'}{T1}{\cyrz}{\cyrzje}
}

\DeclareOption{nomath}{\endinput}
\newif\ifsrb@noint
\srb@nointtrue
\DeclareOption{noint}{\srb@nointfalse}
\newif\ifsrb@nosymb
\srb@nosymbtrue
\DeclareOption{nosymb}{\srb@nosymbfalse}
\ProcessOptions\relax

\DeclareFontFamily{OT1}{cmrsrbm}{}
\DeclareFontFamily{OT1}{cmttsrbm}{}
\DeclareFontFamily{OT1}{cmsssrbm}{}
\DeclareFontShape{OT1}{cmrsrbm}{m}{n}{<5><6><7><8><9>gen*cmr <10->cmr10}{}
\DeclareFontShape{OT1}{cmrsrbm}{m}{it}{<5><6><7>cmti7 <8>cmti8 <9>cmti9 <10->cmti10}{}
\DeclareFontShape{OT1}{cmrsrbm}{bx}{n}{<5><6><7><8><9>gen*cmbx <10->cmbx10}{}
\DeclareFontShape{OT1}{cmsssrbm}{m}{n}{<5><6><7><8>cmss8 <9>cmss9 <10->cmss10}{}
\DeclareFontShape{OT1}{cmttsrbm}{m}{n}{<5><6><7><8>cmtt8<9>cmtt9 <10->cmtt10}{}
\DeclareFontFamily{OML}{cmmsrbm}{}
\DeclareFontShape{OML}{cmmsrbm}{m}{it}{<5><6><7><8><9>gen*cmmi <10->cmmi10}{}
\DeclareFontShape{OML}{cmmsrbm}{b}{it}{<5><6><7><8><9>gen*cmmib <10->cmmib10}{}
\DeclareSymbolFont{operators} {OT1}{cmrsrbm}{m}{n}
\DeclareSymbolFont{letters} {OML}{cmmsrbm}{m}{it}
\DeclareMathAlphabet      {\mathbf}{OT1}{cmrsrbm}{bx}{n}
\DeclareMathAlphabet      {\mathit}{OT1}{cmrsrbm}{m}{it}
\DeclareMathAlphabet      {\mathsf}{OT1}{cmsssrbm}{m}{n}
\DeclareMathAlphabet      {\mathtt}{OT1}{cmttsrbm}{m}{n}

\AtBeginDocument{
\ifsrb@noint
\DeclareSymbolFont{cmsrbex}{OMX}{cmsrbex}{m}{n}
\DeclareMathSymbol{\srbintop}{\mathop}{cmsrbex}{"52}
\DeclareMathSymbol{\srbointop}{\mathop}{cmsrbex}{"48}
\newcommand{\srbint}{\relax\srbintop\displaylimits}
\newcommand{\srboint}{\relax\srbointop\displaylimits}
\let\intop\srbintop
\let\ointop\srbointop
\let\int\srbint
\let\oint\srboint
\@ifpackageloaded{amsmath}
{
\let\ilimits@\displaylimits
\renewcommand{\MultiIntegral}[1]{
  \edef\ints@c{\noexpand\intop
    \ifnum#1=\z@\noexpand\intdots@\else\noexpand\intkern@\fi
    \ifnum#1>\tw@\noexpand\intop\noexpand\intkern@\fi
    \ifnum#1>\thr@@\noexpand\intop\noexpand\intkern@\fi
    \noexpand\intop
    \noexpand\displaylimits
  }
  \futurelet\@let@token\ints@a
}
\def\ints@b{
  \mkern-7mu\mathchoice{\mkern2mu}{}{}{}
  \mathop\bgroup
    \mkern7mu\mathchoice{\mkern-2mu}{}{}{}
    \let\displaylimits\egroup
}
\def\intkern@{\mkern -6mu }
\def\ints@#1{\mkern -3mu
\mathop{\mkern 3mu
\intop
\ifnum #1=\z@ \intdots@ \else
\intkern@
\ifnum #1>\tw@ \intop\intkern@
\ifnum #1>\thr@@ \intop\intkern@ \fi\fi\fi
\intop }\displaylimits }}{}
\fi

\ifsrb@nosymb
\@ifpackageloaded{amssymb}
{
\let\le\leqslant
\let\ge\geqslant
\let\leq\leqslant
\let\geq\geqslant
\let\nleq\nleqslant
\let\ngeq\ngeqslant
}
\fi
}
\endinput