给出
\begin{equation}
H=\int \bigg(\big||\partial_x|^{\alpha/2}\psi\big|^2+\frac{1}{2}\big||\partial_x|^{-\beta/4}\psi\big|^4\bigg)dx
\end{equation}
然而,与更好的版本相比,我发现这个积分符号相当无趣:
我怎样才能将这种集成符号改为更像下面的图片?
谢谢
序言如下:
\documentclass{article}
\usepackage{hyperref}
\usepackage{url}
\usepackage{enumerate}
\usepackage{rotating, graphicx}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{wrapfig}
\usepackage{setspace}
\usepackage{lscape}
\usepackage{rotating}
\usepackage{epstopdf}
\usepackage{MnSymbol}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage[table,xcdraw]{xcolor}
\usepackage{lscape}
\newcommand{\norm}[1]{\left\lVert#1\right\rVert}
\newcommand{\R}{\mathbb{R}}
\newcommand{\C}{\mathbb{C}}
\usepackage{amssymb}
\usepackage{mathtools}
\usepackage[mathscr]{euscript}
\usepackage{mathrsfs}
\usepackage{yfonts}
\usepackage{setspace}
\doublespacing
\usepackage{imakeidx}
\usepackage[colorinlistoftodos]{todonotes}
答案1
看看下面的例子是否给出了您想要的(类似的)结果:
\documentclass{article}
\usepackage{nccmath, % for \mfrac: medium size of \frac
mathtools} % it load amsmath too
\DeclarePairedDelimiter\abs{\lvert}{\rvert} % for writing absolute values
% instead of your "\newcommand{\norm}[1]{\left\lVert#1\right\rVert}"
\DeclarePairedDelimiterX\norm[1]\lVert\rVert{\ifblank{#1}{{\cdot}}{#1}}
\usepackage{esint} % new, for integrals
\usepackage{derivative} % new, for commands for writing derivatives in a straightforward manner
\begin{document}
\begin{equation}
H = \int \biggl(\abs*{\abs{\partial_x}^{\alpha/2} \psi}^2
+ \mfrac{1}{2}\abs*{\abs{\partial_x}^{-\beta/4}\psi}^4\biggr)\odif{x}
\end{equation}
\end{document}
无关:
在您的序言中,许多包被加载了两次,其中一些(如utf8
等)是最新的 LaTeX 版本,不再需要。
\documentclass{article}
\usepackage{hyperref} % should be last in reamble
%\usepackage{url} % loaded by hyperref
\usepackage{enumerate}
\usepackage{rotating, graphicx}
\usepackage{amsmath} % loaded by mathtools
\usepackage{amssymb}
\usepackage{wrapfig}
\usepackage{setspace}
\usepackage{lscape}
%\usepackage{rotating} % loaded second time
\usepackage{epstopdf} % not needed anymore, covered by graphicx
%\usepackage{MnSymbol} % you not liked its integral signs
\usepackage[utf8]{inputenc}
\usepackage{amsmath} % loaded second time
\usepackage[table,xcdraw]{xcolor}
\usepackage{lscape}
\newcommand{\norm}[1]{\left\lVert#1\right\rVert}
\newcommand{\R}{\mathbb{R}}
\newcommand{\C}{\mathbb{C}}
\usepackage{amssymb}
\usepackage{mathtools}
\usepackage[mathscr]{euscript} % is really need?
\usepackage{mathrsfs} % is really need?
\usepackage{yfonts} % is really need?
\usepackage{setspace} % loaded second time
\doublespacing
\usepackage{imakeidx}
\usepackage[colorinlistoftodos]{todonotes}