help-gnu-emacs
[Top][All Lists]

## Dreaming in XEmacs

 From: Joe Corneli Subject: Dreaming in XEmacs Date: Sun, 9 Feb 2003 22:40:09 -0600 (CST)

Hello --

Here are a couple of things I'd really like to see -- if they
exist, I'd like to know about them, if not, it would be interesting
to hear some discussion/hints about how to write the necessary code.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Item 1.  Real-time array neatener for XEmacs
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

I use XEmacs to write TeX code and when I encounter an array (especially a
big one) I usually begin to feel a bit of a panic.  Wouldn't it be nice if
XEmacs kept the &'s lined up vertically, so that this took 15 seconds or
less to write (instead of a minute or so of tedious fiddling):

$$\begin{array}{ccc} 0 & 1 & \alpha \\ \mathbf{F} & \beta & 1 \\ 0 & 1 & \gamma \\ \end{array}$$

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Item 2. Small font size for arrays.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

When I started using XEmacs a lot, I set up my configuration file to use a
fairly big default font, 22pt I think -- in general, this seems to be the
best way to use my "screen real estate".  But when I come to an array I
would prefer to switch back to 10pt or so.  Presumably this is pretty easy
to set up (whatever file makes \emph{italic} italic and $\alpha$ a
different color and $$\alpha$$ a different color still can presumably be
edited to support this).  Any clues about the code (I don't want to mess
this particular file up!)?

Thanks --

Joe Corneli