I didn't find them in AUCTeX, but it is nice and useful to have such
features:
1. Change an inline equation $a*b + c*d$ to a displayed math environment,
such as equation/equation*/displaymath/\[...\]/etc? How about using the
key, for example, C-c d (or C-u C-c i)?
I know this can be done by inserting an environment, but you need to select
the region first and delete the $'s as well.
When I select $a*b + c*d$ and then insert an environment "equation", the
\label was inserted after $a*b + c*d$ with a new line as below:
\begin{equation}
$a*b + c*d$\label{eqn:test}
\end{equation}
I prefer it looks like this:
\begin{equation}
\label{eqn:test}
a*b + c*d
\end{equation}
2. Change a displayed math enviroment to an inline equation? How about
using the key C-c i (or C-u C-c d)?
This can change
\begin{equation}
\label{eqn:test}
a*b + c*d
\end{equation}
back to $a*b + c*d$ with (all) the \label command(s) removed and if "//"
exists, it will also be removed or replaced with some user-defined
"delimeter", such as "\quad", ",", "\;", etc.
Thanks.
--
Adam
_________________________________________________________________
Get in the mood for Valentine's Day. View photos, recipes and more on your
Live.com page.
http://www.live.com/?addTemplate=ValentinesDay&ocid=T001MSN30A0701
_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex