[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX] Filling in math environments
From: |
Brett Presnell |
Subject: |
[AUCTeX] Filling in math environments |
Date: |
Mon, 09 Nov 2009 11:53:04 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) |
Is there any way to turn off filling in latex math environments without
turning off filling altogether?
What I actually want is something more specific: suppose I am in the
midst of typing something like
\begin{equation*}
\varbw(\epsilon^*)
= n^{-1} \sum_{i=1}^n (\resid_i - \resbar_n)^2
= n^{-1} \sum_{i=1}^n [
\{ \error_i - \tp{x_i}(\betares_n - \beta) \}
- \{\errbar_n - \tp{\xbar_n} (\betares_n - \beta) \}]^2
= n^{-1} \sum_{i=1}^n (\error_i - \errbar_n)^2
+
\end{equation*}
when I realize that I am going to need to insert a split environment.
So I select lines 2--7 of the equation* environment above and type "C-c
C-e split Ret". This gives me
\begin{equation*}
\varbw(\epsilon^*)
\begin{split}
= n^{-1} \sum_{i=1}^n (\resid_i - \resbar_n)^2 = n^{-1}
\sum_{i=1}^n [ \{ \error_i - \tp{x_i}(\betares_n - \beta) \} -
\{\errbar_n - \tp{\xbar_n} (\betares_n - \beta) \}]^2 = n^{-1}
\sum_{i=1}^n (\error_i - \errbar_n)^2 +
\end{split}
\end{equation*}
when what I want is
\begin{equation*}
\varbw(\epsilon^*)
\begin{split}
= n^{-1} \sum_{i=1}^n (\resid_i - \resbar_n)^2
= n^{-1} \sum_{i=1}^n [
\{ \error_i - \tp{x_i}(\betares_n - \beta) \}
- \{\errbar_n - \tp{\xbar_n} (\betares_n - \beta) \}]^2
= n^{-1} \sum_{i=1}^n (\error_i - \errbar_n)^2 +
\end{split}
\end{equation*}
I looked briefly at the info documentation and the customization
variables, but I didn't notice anything that seemed aimed at this.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [AUCTeX] Filling in math environments,
Brett Presnell <=