all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* disable subscript superscript raise/lower?
@ 2008-07-16 20:16 Benjamin
  2008-07-16 20:48 ` Ralf Angeli
  0 siblings, 1 reply; 3+ messages in thread
From: Benjamin @ 2008-07-16 20:16 UTC (permalink / raw)
  To: help-gnu-emacs

GNU Emacs 22.2.1 (i386-redhat-linux-gnu, GTK+ Version 2.12.9)
Using emacs in LaTeX mode shows superscript and subscript as raised
and lowered respectively, which is kind of neat, but sort of breaks
the spartan "simplicity" of emacs that I have come to like, and
renders some of the sub sub scripts unreadable.  How do I disable this
feature?

Thanks,

-Ben




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

* Re: disable subscript superscript raise/lower?
  2008-07-16 20:16 disable subscript superscript raise/lower? Benjamin
@ 2008-07-16 20:48 ` Ralf Angeli
  2008-07-16 21:27   ` Benjamin
  0 siblings, 1 reply; 3+ messages in thread
From: Ralf Angeli @ 2008-07-16 20:48 UTC (permalink / raw)
  To: help-gnu-emacs

* Benjamin (2008-07-16) writes:

> GNU Emacs 22.2.1 (i386-redhat-linux-gnu, GTK+ Version 2.12.9)
> Using emacs in LaTeX mode shows superscript and subscript as raised
> and lowered respectively, which is kind of neat, but sort of breaks
> the spartan "simplicity" of emacs that I have come to like,

Are you sure you are not confusing Emacs with ed?

> and
> renders some of the sub sub scripts unreadable.  How do I disable this
> feature?

Assuming you are using Emacs' built-in TeX mode, Stefan Monnier provided
a hack on this list before:

(eval-after-load "tex-mode" '(fset 'tex-font-lock-suscript 'ignore)) 

If you are using a development version of Emacs, you can simply
customize `tex-fontify-script'.

-- 
Ralf


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

* Re: disable subscript superscript raise/lower?
  2008-07-16 20:48 ` Ralf Angeli
@ 2008-07-16 21:27   ` Benjamin
  0 siblings, 0 replies; 3+ messages in thread
From: Benjamin @ 2008-07-16 21:27 UTC (permalink / raw)
  To: help-gnu-emacs

On Jul 16, 4:48 pm, Ralf Angeli <dev.n...@caeruleus.net> wrote:
> * Benjamin (2008-07-16) writes:
> > GNU Emacs 22.2.1 (i386-redhat-linux-gnu, GTK+ Version 2.12.9)
> > Using emacs in LaTeX mode shows superscript and subscript as raised
> > and lowered respectively, which is kind of neat, but sort of breaks
> > the spartan "simplicity" of emacs that I have come to like,
>
> Are you sure you are not confusing Emacs with ed?

Pretty sure I'm using emacs, do other editors exist?   :-)

> Assuming you are using Emacs' built-in TeX mode, Stefan Monnier provided
> a hack on this list before:

Without knowing better, I'll assume that the LaTeX mode is the same as
the built in TeX mode (it says (LaTeX) at the bottom of my emacs
screen).

> (eval-after-load "tex-mode" '(fset 'tex-font-lock-suscript 'ignore))

Works perfectly, Thanks.  I did a search using Google Groups but
didn't see Stefan's post.

Cheers,
-Ben



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

end of thread, other threads:[~2008-07-16 21:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-16 20:16 disable subscript superscript raise/lower? Benjamin
2008-07-16 20:48 ` Ralf Angeli
2008-07-16 21:27   ` Benjamin

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.