Redian新闻
>
eqnarray 后面的space 的问题
avatar
eqnarray 后面的space 的问题# TeX - TeX电子排版系统
a*i
1
先谢谢了.
产生的文件里有多余的空行在"where the minimum ...."前面.
该如何出去这多余的空行?
\begin{eqnarray}L(g) &=& min_{\mu_1, \mu_2, \beta_1, \beta_2}
[\sum\limits_{z_i \le g } (y_i - \mu_1 - \beta_1 x_i)^2 + \nonumber\\
& ~ &\sum\limits_{z_i > g } (y_i - \mu_2 - \beta_2 x_i)^2] \nonumber
\end{eqnarray}
where the minimum is achieved at $\hat{\mu}_1,\hat{\mu}_2,
\hat{\beta}_1, \hat{\beta}_2$.
avatar
i*d
2
\noindent where the minimum is achieved .....

【在 a**i 的大作中提到】
: 先谢谢了.
: 产生的文件里有多余的空行在"where the minimum ...."前面.
: 该如何出去这多余的空行?
: \begin{eqnarray}L(g) &=& min_{\mu_1, \mu_2, \beta_1, \beta_2}
: [\sum\limits_{z_i \le g } (y_i - \mu_1 - \beta_1 x_i)^2 + \nonumber\\
: & ~ &\sum\limits_{z_i > g } (y_i - \mu_2 - \beta_2 x_i)^2] \nonumber
: \end{eqnarray}
: where the minimum is achieved at $\hat{\mu}_1,\hat{\mu}_2,
: \hat{\beta}_1, \hat{\beta}_2$.

avatar
J*r
3
\vspace{-0.5in}

【在 a**i 的大作中提到】
: 先谢谢了.
: 产生的文件里有多余的空行在"where the minimum ...."前面.
: 该如何出去这多余的空行?
: \begin{eqnarray}L(g) &=& min_{\mu_1, \mu_2, \beta_1, \beta_2}
: [\sum\limits_{z_i \le g } (y_i - \mu_1 - \beta_1 x_i)^2 + \nonumber\\
: & ~ &\sum\limits_{z_i > g } (y_i - \mu_2 - \beta_2 x_i)^2] \nonumber
: \end{eqnarray}
: where the minimum is achieved at $\hat{\mu}_1,\hat{\mu}_2,
: \hat{\beta}_1, \hat{\beta}_2$.

avatar
a*r
4
你这个是去掉缩进的吧

【在 i******d 的大作中提到】
: \noindent where the minimum is achieved .....
avatar
i*d
5
看来是我看错了问题,一般公式之后去缩进命令用得多,想当然了。调行距是\vspace

【在 a*****r 的大作中提到】
: 你这个是去掉缩进的吧
avatar
T*n
6
The subscript under the second \sum makes you think that
there is extra space, but if you measure it, there isn't (unless
you have loaded other packages that modify the spacing).
If you insist on adjusting the spacing but only for this
equation, try the following. I also recommend the amsmath
package's split environment instead of eqnarray, which has
known bugs in how spacing is calculated.
\documentclass{article}
\usepackage[tbtags]{amsmath}
\begin{document}
Text text text text text text text

【在 a**i 的大作中提到】
: 先谢谢了.
: 产生的文件里有多余的空行在"where the minimum ...."前面.
: 该如何出去这多余的空行?
: \begin{eqnarray}L(g) &=& min_{\mu_1, \mu_2, \beta_1, \beta_2}
: [\sum\limits_{z_i \le g } (y_i - \mu_1 - \beta_1 x_i)^2 + \nonumber\\
: & ~ &\sum\limits_{z_i > g } (y_i - \mu_2 - \beta_2 x_i)^2] \nonumber
: \end{eqnarray}
: where the minimum is achieved at $\hat{\mu}_1,\hat{\mu}_2,
: \hat{\beta}_1, \hat{\beta}_2$.

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