
答え1
パッケージは必要ありません(ただし、黒板の太字は除きます)
\documentclass{article}
\usepackage{amsfonts}
\begin{document}
\[
P = \left\{
h \colon D(h) \subset E \to \mathbb{R} \;
\middle|
\begin{tabular}{ @{\;} l @{\;} }
$D(h)$ is a linear subspace of $E$ \\
$h$ is linear, $G\subset D(h)$ \\
$h$ extends $g$, and $h(x)\leq p(x)$ $\forall x \in D(h)$
\end{tabular}
\right\}
\]
\end{document}
答え2
nicematrix
2 つのモノセル ブロックを使用してこれを実行できます。
右側のテキストの垂直間隔を広げたい場合は、コードの[<length>]
後に を追加します\\
。例: h\textup{ is linear}, G\subset D(h),\\[1ex]
.
\documentclass{article}
\usepackage{nicematrix, amsfonts}
\begin{document}
\[
P=\begin{BNiceArray}{c|l}
\Block{1-1}{h\colon D(h)\subset E\to\mathbb{R}}&
\Block[l]{1-1}{D(h)\textup{ is a linear subspace of }E,\\
h\textup{ is linear}, G\subset D(h),\\
h\textup{ extends }g,\textup{ and }h(x)\leq p(x)\quad\forall x\in D(h)}
\end{BNiceArray}.
\]
\end{document}
答え3
黒板太字の R に対してarray
、、、amsmath
およびだけを使用したソリューションは次のとおりです。amsfonts
\documentclass{article}
\usepackage{amsfonts, amsmath}
\begin{document}
\[
P = \left\{
\begin{array}{c|l}
& D(h) \text{ is a linear subspace of }E,\\
h: D(h) \subset E \to \mathbb{R} & h \text{ is linear, } G \subset D(h),\\
&h \text{ extends }g, \text{ and } h(x) \le p(x) \; \forall x \in D(h)
\end{array}
\right\}
\]
\end{document}