```
\documentclass[10pt]{ctexart}
```
```
\usepackage{amsmath, amssymb, amsfonts, amsthm}
\usepacka...
```
\documentclass[10pt]{ctexart}
```
```
\usepackage{amsmath, amssymb, amsfonts, amsthm}
\usepackage[inline]{enumitem}
\begin{document}
\begin{enumerate}[fullwidth,itemindent=2em]
\item \begin{minipage}[t]{\textwidth}
$ \begin{aligned}
P\left(\bigcup_{i=1}^{n}A_{i}\right)
={}&\displaystyle\sum\limits_{1\leqslant i\leqslant n}^{}P(A_{i})-\displaystyle\sum\limits_{1\leqslant i< j\leqslant n}^{}P(A_{i}A_j)+\displaystyle\sum\limits_{1\leqslant i< j< k\leqslant n}^{}\\&P(A_{i}A_jA_k)+\cdots +(-1)^{n-1}P(A_{1}A_{2}\cdots A_n);
\end{aligned} $
\end{minipage}
\end{enumerate}
\end{document}
```
MWE如上,怎样利用盒子实现公式的上边缘对齐呢?
可以看看这个:https://tex.stackexchange.com/questions/58141/equations-inside-enumerate-aligned-on-items-number
一周热门 更多>