diff options
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/cmsrb/cmsrb.sty | 71 |
1 files changed, 53 insertions, 18 deletions
diff --git a/Master/texmf-dist/tex/latex/cmsrb/cmsrb.sty b/Master/texmf-dist/tex/latex/cmsrb/cmsrb.sty index f67e55bb608..8163505e1a5 100644 --- a/Master/texmf-dist/tex/latex/cmsrb/cmsrb.sty +++ b/Master/texmf-dist/tex/latex/cmsrb/cmsrb.sty @@ -1,9 +1,9 @@ -\ProvidesPackage{cmsrb}[2019/03/22 v3.0 cmsrb] +\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{% +\AtBeginDocument{ \DeclareTextComposite{\v}{OT2}{c}{113} \DeclareTextComposite{\v}{OT2}{C}{81} \DeclareTextComposite{\v}{OT2}{s}{120} @@ -137,6 +137,12 @@ } \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}{} @@ -157,28 +163,57 @@ \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}{"49} +\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}% -{\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 - }\ilimits@ - }% -}{} +\@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
\ No newline at end of file |