如何跨多行对齐?

如何跨多行对齐?

所以我有一些想要对齐的公式行:

\Xi_c=(0.136,\ 0.307,\ 0.057^+\ ||\ 0.194^-,\ 0.148,\ 0. 087, 0.074)\ \text{  and  }\
\aleph_c=[\varnothing].

\Xi_c=(0.136,\ 0.307,\ 0^+\ ||\ 0.137^-,\ 0.148,\ 0. 087, 0.074)\ \text{  and  }\
\aleph_c=\bigl[\stackrel{0.057}{(CC)}\bigr].

我想将它们在双线处对齐||,但我必须在公式之间写几行文字,所以我不能将它们放在相同的align环境中。

我怎样才能对齐这些公式,同时它们之间仍保留大量文本(一些段落)?

代码来解释我的问题:

\documentclass{article}
\usepackage{amsmath,amssymb}

\begin{document}
\[ \Xi_c=(0.136,\ 0.307,\ 0.057^+\ ||\ 0.194^-,\ 0.148,\ 0. 087, 0.074)\ \text{  and  }\ \aleph_c=[\varnothing]. \]
A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. 
\[  \Xi_c=(0.136,\ 0.307,\ 0^+\ ||\ 0.137^-,\ 0.148,\ 0. 087, 0.074)\ \text{  and  }\ \aleph_c=\bigl[\stackrel{0.057}{(CC)}\bigr]. \]
\end{document}

答案1

您可以轻松地使用和来完成此操作align*\intertext但结果表明您不应该这样做:明显的错位会让读者觉得很奇怪。

\documentclass{article}
\usepackage{amsmath,amssymb}

\begin{document}
\begin{align*}
\Xi_c=(0.136,\ 0.307,\ 0.057^+\ &||\ 0.194^-,\ 0.148,\ 0. 087, 0.074)
  \ \text{  and  }\ \aleph_c=[\varnothing].
\\
\intertext{A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of 
text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A 
lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes 
here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text 
goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of 
text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A 
lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes 
here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text 
goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of 
text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes here. A 
lot of text goes here. A lot of text goes here. A lot of text goes here. A lot of text goes 
here.}
\Xi_c=(0.136,\ 0.307,\ 0^+\ &||\ 0.137^-,\ 0.148,\ 0. 087, 0.074)
  \ \text{  and  }\ \aleph_c=\bigl[\overset{0.057}{(CC)}\bigr].
\end{align*}
\end{document}

在此处输入图片描述

相关内容