all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Dreaming in XEmacs
       [not found] <E18i4Zv-0005aW-00@monty-python.gnu.org>
@ 2003-02-10  4:40 ` Joe Corneli
  2003-02-10  5:46   ` Ittay Dror
  0 siblings, 1 reply; 6+ messages in thread
From: Joe Corneli @ 2003-02-10  4:40 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Dreaming in XEmacs
  2003-02-10  4:40 ` Dreaming in XEmacs Joe Corneli
@ 2003-02-10  5:46   ` Ittay Dror
  2003-02-10  6:11     ` Joe Corneli
  0 siblings, 1 reply; 6+ messages in thread
From: Ittay Dror @ 2003-02-10  5:46 UTC (permalink / raw)
  Cc: help-gnu-emacs

On Mon, 2003-02-10 at 06:40, Joe Corneli wrote:
> 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}
> $$
i think the align package will do that for you.

> 
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> 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
> 
> 
> 
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
-- 
===================================
Ittay Dror (ittay@qlusters.com)
User Space Team, R&D
Qlusters Inc.
+972-3-6081976 Fax: +972-3-6081841

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Dreaming in XEmacs
  2003-02-10  5:46   ` Ittay Dror
@ 2003-02-10  6:11     ` Joe Corneli
  0 siblings, 0 replies; 6+ messages in thread
From: Joe Corneli @ 2003-02-10  6:11 UTC (permalink / raw)
  Cc: help-gnu-emacs

On 10 Feb 2003, Ittay Dror wrote:

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

> i think the align package will do that for you.

I suppose I can make do real-time neatening without too much trouble...
ok. Thanks!

Joe

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Dreaming in XEmacs
       [not found] <mailman.1705.1044852027.21513.help-gnu-emacs@gnu.org>
@ 2003-02-10  6:37 ` Kai Großjohann
  2003-02-10  7:06 ` Miles Bader
  2003-02-10 11:05 ` David Kastrup
  2 siblings, 0 replies; 6+ messages in thread
From: Kai Großjohann @ 2003-02-10  6:37 UTC (permalink / raw)


Joe Corneli <jcorneli@mail.ma.utexas.edu> writes:

> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> 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}
> $$

(I'm surprised about the `$$'.)

Try the align.el package.  I do M-x align-current RET, and there I am.
-- 
A turnip curses Elvis

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Dreaming in XEmacs
       [not found] <mailman.1705.1044852027.21513.help-gnu-emacs@gnu.org>
  2003-02-10  6:37 ` Kai Großjohann
@ 2003-02-10  7:06 ` Miles Bader
  2003-02-10 11:05 ` David Kastrup
  2 siblings, 0 replies; 6+ messages in thread
From: Miles Bader @ 2003-02-10  7:06 UTC (permalink / raw)
  Cc: help-gnu-emacs

Joe Corneli <jcorneli@mail.ma.utexas.edu> writes:
> 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

I don't know about XEmacs, but in Emacs (this is nominally an Emacs list),
you can just select the table and use `M-x align'.

-Miles
-- 
o The existentialist, not having a pillow, goes everywhere with the book by
  Sullivan, _I am going to spit on your graves_.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Dreaming in XEmacs
       [not found] <mailman.1705.1044852027.21513.help-gnu-emacs@gnu.org>
  2003-02-10  6:37 ` Kai Großjohann
  2003-02-10  7:06 ` Miles Bader
@ 2003-02-10 11:05 ` David Kastrup
  2 siblings, 0 replies; 6+ messages in thread
From: David Kastrup @ 2003-02-10 11:05 UTC (permalink / raw)


Joe Corneli <jcorneli@mail.ma.utexas.edu> writes:

> 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}
> $$

M-x align-current RET from align.el (part of GNU Emacs, maybe
somebody has already ported it).


-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-02-10 11:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E18i4Zv-0005aW-00@monty-python.gnu.org>
2003-02-10  4:40 ` Dreaming in XEmacs Joe Corneli
2003-02-10  5:46   ` Ittay Dror
2003-02-10  6:11     ` Joe Corneli
     [not found] <mailman.1705.1044852027.21513.help-gnu-emacs@gnu.org>
2003-02-10  6:37 ` Kai Großjohann
2003-02-10  7:06 ` Miles Bader
2003-02-10 11:05 ` David Kastrup

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.