2

So I have some lines of formulas that I want to align:

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

and

\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].

I would like to align these at the double bars ||, but I have to write some lines of text between the formulas, so I can't put them in them same align environment.

How can I align these formula while still having a lot of text (some paragraphs) between them?

The code, to explain my problem:

\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}
RBS
  • 419

1 Answers1

3

You can easily do it with align* and \intertext, but the result shows that you shouldn't: the apparent misalignment will look very odd to your readers.

\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}

enter image description here

egreg
  • 1,121,712
  • Thank you! I see that it looks weird, but in the eventual document it will look better. I can't explain why here without posting the entire page, but there's a reason I specifically need to align them at the ||. – RBS Jun 21 '15 at 14:08