TeX版 - eqnarray 后面的space 的问题 |
|
|
|
|
|
a**i 发帖数: 57 | 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$. | i******d 发帖数: 15 | 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$.
| J*******r 发帖数: 379 | 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$.
| a*****r 发帖数: 443 | 4 你这个是去掉缩进的吧
【在 i******d 的大作中提到】 : \noindent where the minimum is achieved .....
| i******d 发帖数: 15 | 5 看来是我看错了问题,一般公式之后去缩进命令用得多,想当然了。调行距是\vspace
【在 a*****r 的大作中提到】 : 你这个是去掉缩进的吧
| T*******n 发帖数: 493 | 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$.
|
|
|
|
|
|
|