avatar
A question about eqnarray# TeX - TeX电子排版系统
t*h
1
I used
\begin{eqnarray}
eq1 = xxx \\
eq2 = yyy \\
\end{eqnarray}
It is right-justified by default. But I want to have it left-justified.
So I tried
\begin{eqnarray}
&&eq1 = xxx\\
&&eq2 = yyy\\
\end{eqnarray}
Some spaces appear before the equations. I do not want to use '&=&' because
eq1 and eq2 have significantly different length. Do you have any idea how to
make it?
Thanks.
avatar
N*D
2
use
\begin{align}
\end{align}

【在 t*h 的大作中提到】
: I used
: \begin{eqnarray}
: eq1 = xxx \\
: eq2 = yyy \\
: \end{eqnarray}
: It is right-justified by default. But I want to have it left-justified.
: So I tried
: \begin{eqnarray}
: &&eq1 = xxx\\
: &&eq2 = yyy\\

avatar
t*h
3
Thanks. It's much better now.
avatar
T*n
4
eqnarray has bugs in its calculation of the amount of spaces to add.
Don't use it.

【在 t*h 的大作中提到】
: I used
: \begin{eqnarray}
: eq1 = xxx \\
: eq2 = yyy \\
: \end{eqnarray}
: It is right-justified by default. But I want to have it left-justified.
: So I tried
: \begin{eqnarray}
: &&eq1 = xxx\\
: &&eq2 = yyy\\

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。