From 4f2ef9d2a079b4b489eb1b4dcc220f8eb7eb3eb4 Mon Sep 17 00:00:00 2001 From: Koishi Jinguji <myandeg@outlook.com> Date: Thu, 9 Sep 2021 14:55:55 +0800 Subject: [PATCH] =?UTF-8?q?docs:=E4=BC=98=E5=8C=96=E5=85=AC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chapters/Mathematics.tex | 42 ++++++++++++++++++++-------------------- profile/packages.sty | 3 ++- 2 files changed, 23 insertions(+), 22 deletions(-) diff --git a/chapters/Mathematics.tex b/chapters/Mathematics.tex index 3ad2976..1a2c2bb 100644 --- a/chapters/Mathematics.tex +++ b/chapters/Mathematics.tex @@ -2,31 +2,31 @@ \section{鍏紡绀轰緥} \begin{equation}\label{eq:dewitt} - \int e^{ax} \tanh bx\ dx = - \begin{cases} - \displaystyle{ \frac{ e^{(a+2b)x}}{(a+2b)} - {_2F_1}\left[ 1+\frac{a}{2b},1,2+\frac{a}{2b}, -e^{2bx}\right] }& \\ - \displaystyle{ - \hspace{1cm}-\frac{1}{a}e^{ax}{_2F_1}\left[ 1, \frac{a}{2b},1+\frac{a}{2b}, -e^{2bx}\right] - } - & a\ne b \\ - \displaystyle{\frac{e^{ax}-2\tan^{-1}[e^{ax}]}{a} } & a = b - \end{cases} + \int \mathrm{e}^{ax} \tanh {bx} \, \mathrm{d}x = + \begin{dcases} + \begin{multlined} + \frac{\mathrm{e}^{(a+2b)x}}{(a + 2b)} \, + {{}_2F_1} \left( 1 + \frac{a}{2b}, 1, 2+\frac{a}{2b}, -\mathrm{e}^{2bx} \right) \\ + - \frac{1}{a} \mathrm{e}^{ax} \, {{}_2F_1} \left( 1, \frac{a}{2b}, 1 + \frac{a}{2b}, -\mathrm{e}^{2bx} \right) + \end{multlined} + & a \ne b \\ + \frac{e^{ax} - 2 \tan^{-1}(\mathrm{e}^{ax})}{a} & a = b + \end{dcases} \end{equation} - + 浣犲彲浠ヤ娇鐢╘lstinline|equation|鐜鎻掑叆鍏紡锛屽\cref{eq:dewitt}锛屼唬鐮佸涓�: \begin{lstlisting}[language=TeX] \begin{equation}\label{eq:dewitt} - \int e^{ax} \tanh bx\ dx = - \begin{cases} - \displaystyle{ \frac{ e^{(a+2b)x}}{(a+2b)} - {_2F_1}\left[ 1+\frac{a}{2b},1,2+\frac{a}{2b}, -e^{2bx}\right] }& \\ - \displaystyle{ - \hspace{1cm}-\frac{1}{a}e^{ax}{_2F_1}\left[ 1, \frac{a}{2b},1+\frac{a}{2b}, -e^{2bx}\right] - } - & a\ne b \\ - \displaystyle{\frac{e^{ax}-2\tan^{-1}[e^{ax}]}{a} } & a = b - \end{cases} + \int\mathrm{e}^{ax}\tanh{bx}\,\mathrm{d}x = + \begin{dcases} + \begin{multlined} + \frac{\mathrm{e}^{(a+2b)x}}{(a+2b)}\, + {{}_2F_1}\left( 1+\frac{a}{2b},1,2+\frac{a}{2b},-\mathrm{e}^{2bx} \right) \\ + - \frac{1}{a} \mathrm{e}^{ax}\,{{}_2F_1}\left( 1,\frac{a}{2b},1+\frac{a}{2b},-\mathrm{e}^{2bx} \right) + \end{multlined} + & a \ne b \\ + \frac{e^{ax}-2\tan^{-1}(\mathrm{e}^{ax})}{a} & a = b + \end{dcases} \end{equation} \end{lstlisting} diff --git a/profile/packages.sty b/profile/packages.sty index 251f2a5..1bb952d 100644 --- a/profile/packages.sty +++ b/profile/packages.sty @@ -41,8 +41,9 @@ \RequirePackage{amsmath} % Must be loaded before unicode-math \RequirePackage{amsthm} % Mathematical environments +\RequirePackage{mathtools} % Mathematical tools to use with amsmath \RequirePackage{thmtools} % Theorem styles -\RequirePackage{unicode-math} % Math fonts in xetexorluatex +\RequirePackage{unicode-math} % Math fonts in xetex or luatex \RequirePackage{graphicx} \DeclareGraphicsExtensions{.pdf,.eps,.jpg,.png} -- GitLab