我希望我的方程式以两个制表符从左侧开始。我使用这个。当我用和\qquad\qquad
拆分方程式时,TeX 会将方程式居中。关于如何让方程式以两个制表符从左侧开始,有什么建议吗?\begin{equation*}
\begin{split}
split
答案1
您不应该手动用 缩进公式\quad\quad
;而应该使用fleqn
选项amsmath
。
\documentclass{article}
\usepackage[fleqn]{amsmath}
\setlength{\mathindent}{2em} % two quads
\begin{document}
Here is an normal equation with some text above it that
should wrap over a couple of lines
\begin{equation*}
\int_{-\infty}^{\infty}e^{-x^{2}}\,dx=\sqrt{\pi}
\end{equation*}
and here is a derivation of the above formula using
double integrals, where $C_{r}$ is the full circle
of radius~$r$ centered at the origin and the substitution
uses polar coordinates
\begin{equation*}
\begin{split}
\iint\limits_{C_{r}}e^{-x^{2}-y^{2}}\,dx\,dy
&=\iint\limits_{[0,r]\times[0,2\pi]} e^{-\rho^{2}}\rho\,d\rho\,d\varphi \\
&=\int_{0}^{2\pi}\biggl(
\int_{0}^r \rho e^{-\rho^{2}}\,d\rho
\biggr)\,d\varphi \\
&=\int_{0}^{2\pi}\frac{1-e^{-r^{2}}}{2} \,d\varphi \\
&=\pi(1-e^{-r^{2}})
\end{split}
\end{equation*}
The conclusion is now easy, isn't it?
\end{document}