减少两个或多个积分之间的间距

减少两个或多个积分之间的间距

如何使用下面的代码将两个或多个积分之间的空间至少减少到四重积分,以便对它们进行更多的了解?

它可供许多人/用户使用。谢谢大家。

在此处输入图片描述

\documentclass[a4paper,12pt]{article}
\usepackage[italian]{babel}% Italianlanguage/hyphenation
\usepackage[utf8]{inputenc} % Required for including letters with accents
\usepackage[T1]{fontenc} % Use 8-bit encoding that has 256 glyphs
\usepackage{classico}
\usepackage{mathtools}

%%%%%%% Symbol integral with mathdesign %%%%%%%%%%%%%%%%%
\makeatletter
\def\upintkern@{\mkern-7mu\mathchoice{\mkern-3.5mu}{}{}{}}
\def\upintdots@{\mathchoice{\mkern-4mu\@cdots\mkern-4mu}%
 {{\cdotp}\mkern1.5mu{\cdotp}\mkern1.5mu{\cdotp}}%
 {{\cdotp}\mkern1mu{\cdotp}\mkern1mu{\cdotp}}%
 {{\cdotp}\mkern1mu{\cdotp}\mkern1mu{\cdotp}}}
\newcommand{\upiint}{\DOTSI\protect\UpMultiIntegral{2}}
\newcommand{\upiiint}{\DOTSI\protect\UpMultiIntegral{3}}
\newcommand{\upiiiint}{\DOTSI\protect\UpMultiIntegral{4}}
\newcommand{\upidotsint}{\DOTSI\protect\UpMultiIntegral{0}}
\newcommand{\UpMultiIntegral}[1]{%
  \edef\ints@c{\noexpand\upintop
    \ifnum#1=\z@\noexpand\upintdots@\else\noexpand\upintkern@\fi
    \ifnum#1>\tw@\noexpand\upintop\noexpand\upintkern@\fi
    \ifnum#1>\thr@@\noexpand\upintop\noexpand\upintkern@\fi
    \noexpand\upintop
    \noexpand\ilimits@
  }%
  \futurelet\@let@token\ints@a
}
\makeatother

\DeclareFontFamily{OMX}{mdbch}{}
\DeclareFontShape{OMX}{mdbch}{m}{n}{ <->s * [1]  mdbchr7v }{}%old 0.8
\DeclareFontShape{OMX}{mdbch}{b}{n}{ <->s * [1]  mdbchb7v }{}%old 0.8
\DeclareFontShape{OMX}{mdbch}{bx}{n}{<->ssub * mdbch/b/n}{}

\DeclareSymbolFont{uplargesymbols}{OMX}{mdbch}{m}{n}
\SetSymbolFont{uplargesymbols}{bold}{OMX}{mdbch}{b}{n}
\DeclareMathSymbol{\upintop}{\mathop}{uplargesymbols}{82}
\DeclareMathSymbol{\upointop}{\mathop}{uplargesymbols}{"48}

\DeclareFontEncoding{MDB}{}{}
\DeclareFontFamily{MDB}{mdbch}{}
\DeclareFontShape{MDB}{mdbch}{m}{n}{ <->s * [0.8]  mdbchrmb }{}
\DeclareFontShape{MDB}{mdbch}{b}{n}{ <->s * [0.8]  mdbchbmb }{}
\DeclareFontShape{MDB}{mdbch}{bx}{n}{<->ssub * mdbch/b/n}{}
\DeclareFontSubstitution{MDB}{cmr}{m}{n}
\DeclareSymbolFont{mathdesignB}{MDB}{mdbch}{m}{n}%
\SetSymbolFont{mathdesignB}{bold}{MDB}{mdbch}{b}{n}%
\DeclareMathSymbol{\upintclockwise}{\mathop}{mathdesignB}{128}
\DeclareMathSymbol{\upointclockwise}{\mathop}{mathdesignB}{130}
\DeclareMathSymbol{\upointctrclockwise}{\mathop}{mathdesignB}{132}
\DeclareMathSymbol{\upoiint}{\mathop}{mathdesignB}{134}
\DeclareMathSymbol{\upoiiint}{\mathop}{mathdesignB}{136}

\makeatletter
\newcommand{\upint}{\DOTSI\upintop\ilimits@}
\newcommand{\upoint}{\DOTSI\upointop\ilimits@}
\makeatother

%%%%%%%%%%%%%%%%%%%%%% Nuovo \partial
\DeclareFontFamily{U}{nxlmi}{}
\DeclareFontSubstitution{U}{nxlmi}{m}{it}
\DeclareFontShape{U}{nxlmi}{m}{it}{
  <-6.3>    nxlmi05
  <6.3-8.6> nxlmi07
  <8.6->    nxlmi0
}{}

\DeclareFontShape{U}{nxlmi}{b}{it}{
  <-6.3>    nxlbmi05
  <6.3-8.6> nxlbmi07
  <8.6->    nxlbmi0
}{}


\begin{document}
\[\upiint\displaylimits_D f(x,y)dxdy,\quad \upiint_D f(x,y)dxdy\upiiint_D f(x,y,z)dxdydz\upidotsint_D f(x,y,z)dxdydz\]
\end{document}

答案1

我没有安装mtpro2classico包,因此无法准确重现您的代码。但是,似乎您可以通过更改定义中的字距来获得所需的输出\upinterkern

使用你的价值观

\def\upintkern@{\mkern-7mu\mathchoice{\mkern-3.5mu}{}{}{}}

在此处输入图片描述

更改-3.5mu-7mu

\def\upintkern@{\mkern-7mu\mathchoice{\mkern-7mu}{}{}{}}

在此处输入图片描述

相关内容