summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/cmupint
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/cmupint')
-rw-r--r--Master/texmf-dist/tex/latex/cmupint/cmupint.sty31
1 files changed, 27 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/cmupint/cmupint.sty b/Master/texmf-dist/tex/latex/cmupint/cmupint.sty
index 49b8f0d818f..51a01e70c25 100644
--- a/Master/texmf-dist/tex/latex/cmupint/cmupint.sty
+++ b/Master/texmf-dist/tex/latex/cmupint/cmupint.sty
@@ -1,7 +1,7 @@
-\ProvidesPackage{cmupint}[2020/01/21 v1.0 cmupint]
-\DeclareOption{displaylimits}{\let\upilimits@\displaylimits}
-\DeclareOption{limits}{\let\upilimits@\limits}
-\DeclareOption{nolimits}{\let\upilimits@\nolimits}
+\ProvidesPackage{cmupint}[2020/04/13 v1.1 cmupint]
+\DeclareOption{displaylimits}{\let\upilimits@\displaylimits \let\@longt@pfix\,}
+\DeclareOption{limits}{\let\upilimits@\limits \let\@longt@pfix\,}
+\DeclareOption{nolimits}{\let\upilimits@\nolimits \let\@longt@pfix\relax}
\ExecuteOptions{displaylimits}
\ProcessOptions\relax
\DeclareSymbolFont{uplargesymbols}{U}{cmupint}{m}{n}
@@ -35,6 +35,26 @@
\DeclareMathSymbol{\uprightupintop}{\mathop}{uplargesymbols}{54}
\DeclareMathSymbol{\uprightdownintop}{\mathop}{uplargesymbols}{56}
\DeclareMathSymbol{\uprightidotsintop}{\mathop}{uplargesymbols}{58}
+\DeclareMathSymbol{\uprightsumintop}{\mathop}{uplargesymbols}{60}
+\DeclareMathSymbol{\uprightintcupop}{\mathop}{uplargesymbols}{62}
+\DeclareMathSymbol{\uprightintcapop}{\mathop}{uplargesymbols}{64}
+\DeclareMathDelimiter{\uprightlongintop}{\mathop}{uplargesymbols}{69}{uplargesymbols}{69}
+\DeclareMathDelimiter{\uprightlongointop}{\mathop}{uplargesymbols}{70}{uplargesymbols}{70}
+\DeclareMathDelimiter{\uprightlongiintop}{\mathop}{uplargesymbols}{74}{uplargesymbols}{74}
+\DeclareMathDelimiter{\uprightlongoiintop}{\mathop}{uplargesymbols}{75}{uplargesymbols}{75}
+\newcommand\upintp@lette[5]{%
+ \mathchoice
+ {\upintl@ng@perator\displaystyle{#1}{#2}{#3}{#4}}
+ {\textstyle{#5_{#1}^{#2}#3}}
+ {\scriptstyle{#5_{#1}^{#2}#3}}
+ {\scriptscriptstyle{#5_{#1}^{#2}#3}}}
+\newcommand*\upintl@ng@perator[5]{%
+ \mathop{\hbox{$#1\left#5\vphantom{#4}\right.\n@space$}}\upilimits@
+ \ifx\@empty#2\@empty\else _{\!#2}\fi \ifx\@empty#3\@empty\else ^{\@longt@pfix#3}\fi #4 }
+\newcommand\longint[3]{\upintp@lette{#1}{#2}{#3}{\uprightlongintop}{\int}}
+\newcommand\longoint[3]{\upintp@lette{#1}{#2}{#3}{\uprightlongointop}{\oint}}
+\newcommand\longiint[3]{\upintp@lette{#1}{#2}{#3}{\uprightlongiintop}{\iint}}
+\newcommand\longoiint[3]{\upintp@lette{#1}{#2}{#3}{\uprightlongoiintop}{\oiint}}
\AtBeginDocument{
\def\int{\relax\uprightintop\upilimits@}
\def\iint{\relax\uprightiintop\upilimits@}
@@ -66,6 +86,9 @@
\def\upint{\relax\uprightupintop\upilimits@}
\def\downint{\relax\uprightdownintop\upilimits@}
\def\varidotsint{\relax\uprightidotsintop\upilimits@}
+\def\sumint{\relax\uprightsumintop\upilimits@}
+\def\intcup{\relax\uprightintcupop\upilimits@}
+\def\intcap{\relax\uprightintcapop\upilimits@}
\@ifpackageloaded{amsmath}{
\def\idotsint{\DOTSI\protect\mathop\bgroup\noexpand\uprightintop\intdots@\noexpand\uprightintop\egroup\noexpand\upilimits@}
}{