diff options
author | Karl Berry <karl@freefriends.org> | 2020-04-14 21:05:38 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-04-14 21:05:38 +0000 |
commit | afbe98b7e519e8859f76e9b981e1947ac963cd26 (patch) | |
tree | 270f34c589b98eaf672a7d6784bab861f9c1e7bd /Master/texmf-dist/tex/latex/cmupint | |
parent | bb0c0fea8ff60450f443568e5a7d86551db7371e (diff) |
cmupint (14apr20)
git-svn-id: svn://tug.org/texlive/trunk@54735 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/cmupint')
-rw-r--r-- | Master/texmf-dist/tex/latex/cmupint/cmupint.sty | 31 |
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@} }{ |