微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

在Latex中的公式环境中,如何保证右侧的文本段落一致?

如何解决在Latex中的公式环境中,如何保证右侧的文本段落一致?

我尝试在 Latex 中编写以下公式

enter image description here

我的问题是右边的公式怎么写?公式环境下如何保证右侧文本段落一致?

我的代码

$\mathbb{P}[\mBox{there exists a black path from ${0}\times [0,s]$ to $\pho s\mtis [0,s]$ in the rectangle $0,\pho s]\times [0,s]$}]

解决方法

我建议:

\documentclass{article}
\usepackage{amsmath}

\begin{document}
Text

\[
f_s(\rho)=\mathrm{P}%
\left[
\begin{array}{l}
\text{there exists a black path from }\{0\}\times [0,s]\text{ to}\\
\{\rho s\}\times [0,s]\text{ in the rectangle }[0,\rho s]\times [0,s]
\end{array}
\right].
\]

Text
\end{document}

给出这个输出:

screenshot of output pdf

评论您的代码是否可以! :)

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。