答案1
答案2
您可以使用array
。我还提供了不带内括号的版本,因为我觉得内括号是不必要的,而我更喜欢在底部用一行表示的版本。
\documentclass{article}
\usepackage{amsmath, amssymb}
\begin{document}
\[
\{a_t\}_{t=1}^4
\text{ defined recursively by }
a_t=
\left\{(x,y)\;\middle|\;
\left\{\begin{array}{@{}c@{}}
x=t \\
y=9-t^2
\end{array}\right.
\vphantom{\Bigg|}
\right\}
\]
\[
\{a_t\}_{t=1}^4
\text{ defined recursively by }
a_t=
\left\{(x,y)\;\middle|\;
\begin{array}{@{}c@{}}
x=t \\
y=9-t^2
\end{array}
\right\}
\]
\[
\{a_t\}_{t=1}^4 \text{ defined recursively by }
a_t=\{(x,y) \mid x=t, y=9-t^2 \}
\]
\end{document}
答案3
我建议使用这个简单的代码,使用aligned
环境和\set
命令,如\DeclarePairedDelimiterX
命令所定义mathtools
:
\documentclass{article}
\usepackage{mathtools, amssymb}
\DeclarePairedDelimiterX{\set}[1]\{\}{\setargs{#1}}
\NewDocumentCommand{\setargs}{>{\SplitArgument{1}{;}}m}
{\setargsaux#1}
\NewDocumentCommand{\setargsaux}{mm}
{\IfNoValueTF{#2}{#1}{\nonscript\,#1\nonscript\;\delimsize\vert\nonscript\:\allowbreak #2\nonscript\,}}
\begin{document}
\[
\set{a_t}_{t=1}^4 \text{ defined recursively by } a_t=
\set[\bigg]{(x,y);
\begin{aligned}
x & =t \\[-0.5ex]
y & =9-t^2
\end{aligned}}
\]
\end{document}