You've defined a new math environment. You'd like to include it in ultra-tex' incredibly handy ring of math environments which are invoked by repeated banging on the $ key. How is this done?
Three things need to be changed to add the custom math environments. Suppose, for the sake of this example, that the new environment is named foo
.
M-x customize-group
, followed by ultra-tex-environments
. (Remember that you can save typing using the tab key. Most likely, typing ult[TAB]-env[TAB]
will get the proper environment to alter.\|foo*?
in a Good Spot, for instance, right before \|gather*?
.foo
environment to come in the ring.
\begin{foo}
|
\end{foo}
If you forget to insert the proper regexps, ultra-tex will get quite confused. It will change the math environment until it hits foo
, and then starts all over again, nesting new math environments inside foo
.