
看下圖,可以觀察到積分的兩個符號的大小具有相同的長度。
對於第一個積分(紅框),尺寸正確。但對於第二次積分(紫色盒子)被積函數的尺寸非常小。我自己調整了第一個積分的長度。
但是,如何將命令(或更多具有不同大小的命令)添加到我的來源中以獲得第二個積分的正確大小?
我看過這個連結大積分符號但我希望獨自找到合適的長度。
非常感謝大家,歡迎提出任何進一步的建議。
這是我的 MWE:
\documentclass[12pt]{book}
\usepackage[top=2.5cm,bottom=2.5cm,left=3cm,right=3cm,headsep=10pt,a4paper]{geometry}
\usepackage{times} % Use the Times font for headings
\usepackage[lite]{mtpro2}
\usepackage{classico}
\usepackage{microtype} % Slightly tweak font spacing for aesthetics
\usepackage[utf8]{inputenc} % Required for including letters with accents
\usepackage[T1]{fontenc} % Use 8-bit encoding that has 256 glyphs
\usepackage{mathtools}
%%%%%%% New 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
\begin{document}
\begin{equation}
dx=\upint \frac{dy}{\log x}
\end{equation}
\begin{equation}
\upint\frac{dy}{\sqrt{\dfrac{(n(y))^2}{c^2}-1}}
\end{equation}
\end{document}