![如何并排输入两个语句并在它们之间添加 iff](https://linux22.com/image/373419/%E5%A6%82%E4%BD%95%E5%B9%B6%E6%8E%92%E8%BE%93%E5%85%A5%E4%B8%A4%E4%B8%AA%E8%AF%AD%E5%8F%A5%E5%B9%B6%E5%9C%A8%E5%AE%83%E4%BB%AC%E4%B9%8B%E9%97%B4%E6%B7%BB%E5%8A%A0%20iff.png)
答案1
方程式可以与显示的方程式 (包) 分组gathered
或在显示方程式内:aligned
amsmath
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[
\begin{gathered}
T[\phi_i] \rightarrow T[\phi]\\
\text{as } i \rightarrow \infty
\end{gathered}
\quad\Longleftrightarrow\quad
\begin{gathered}
T[\vartheta] \text{ in somewhere}\\
\forall \vartheta \in \mathcal{D}_0(\mathcal{U})
\text{ bounded on } \mathcal{D}_0(\mathcal{U})
\end{gathered}
\]
\end{document}
答案2
无数种可能性中的两种。
\documentclass{article}
\usepackage{amsmath,mathrsfs}
\begin{document}
\[
\left.\begin{array}{rcl}
T[\phi_i] & \to& T[\phi]\\
\text{as}~i& \to & \infty
\end{array}\right\}
\Longleftrightarrow
\left\{\begin{array}{l}
\text{$T$ is bounded}\\
\forall\vartheta\in\mathscr{D}_0(U)~\text{bounded on}~\mathscr{D}_0(U)
\end{array}\right.
\]
or
\[
T[\phi_i] \xrightarrow{i\to\infty} T[\phi]\quad
\Longleftrightarrow
\begin{cases}
\text{$T$ is bounded}\\
\forall\vartheta\in\mathscr{D}_0(U)~\text{bounded on}~\mathscr{D}_0(U)
\end{cases}
\]
\end{document}
答案3
我建议使用aligned
来更好地控制两行之间的对齐。在左半部分,我们有两个\rightarrow
可以对齐的 s;在右半部分,我们也可以有两个\in
可以对齐的 s。
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[
\begin{aligned}
T[\phi_i] & \rightarrow T[\phi]\\
\text{as } i & \rightarrow \infty
\end{aligned}
\quad\Longleftrightarrow\quad
\begin{aligned}
&T[\vartheta] \text{ in somewhere}\\
&\forall\vartheta\in\mathcal{D}_0(\mathcal{U}) \text{ bounded on } \mathcal{D}_0(\mathcal{U})
\end{aligned}
\]
\end{document}