答案1
我会选择tabular
,但有一点变化:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[
f_s(\rho)=\mathbf{P}\left[
\begin{tabular}{@{\,}l@{\,}}
there exists a black path from $\{0\}\times[0,s]$ to \\
$\{\rho s\}\times[0,s]$ in the rectangle $[0,\rho s]\times[0,s]$
\end{tabular}
\right]
\]
\end{document}
这似乎完全复制了您所展示的图片。
我的普通 TeX 版本将是
$$
f_s(\rho)={\bf P}\left[
\,\vcenter{\ialign{#\hfil\cr
there exists a black path from $\{0\}\times[0,s]$ to\cr
$\{\rho s\}\times[0,s]$ in the rectangle $[0,\rho s]\times[0,s]$\cr
}}\,
\right]
$$
可能需要一个宏来减轻重量:
\def\longsetdesc#1{\,\vcenter{\ialign{##\hfil\cr#1\crcr}}\,}
$$
f_s(\rho)={\bf P}\left[
\longsetdesc{
there exists a black path from $\{0\}\times[0,s]$ to\cr
$\{\rho s\}\times[0,s]$ in the rectangle $[0,\rho s]\times[0,s]$
}
\right]
$$
\bye
答案2
答案3
这是TeX 原语的\vcenter
任务:\hbox
$$
f_s(P) = {\bf P} \left[
\vcenter{
\hbox{there exists a black path from ${0}\times [0,s]$ to}
\hbox{$\rho s\times [0,s]$ in the rectangle $[0,\rho s]\times [0,s]$}
}\right]
$$
答案4
这是一个使用 的解决方案,\parbox
不需要加载任何额外的包。(我确实\pho
用\rho
、\mtis
和替换了。)\times
{0}
\{0\}
\documentclass{article}
\newlength\mylen
\settowidth\mylen{there exists a black path from $\{0\}\times [0,s]$ to} % measure width
\begin{document}
\[
\mathbf{P}\left[\,
\parbox{\mylen}{\raggedright there exists a black path from $\{0\}\times [0,s]$ to
$\{\rho s\}\times [0,s]$ in the rectangle $[0,\rho s]\times [0,s]$}
\,\right]
\]
\end{document}