all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: tex mode sub- and super-scripts
Date: Thu, 12 Jul 2007 15:48:31 -0400	[thread overview]
Message-ID: <jwv8x9ls8yf.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: mailman.2828.1183170710.32220.help-gnu-emacs@gnu.org

> I just upgraded to Fedora 7, which means I got upgraded from
> emacs-21 to emacs-22. Now I find that when I edit a TeX file,
> all subscripts (TeX _{xxx}) and superscripts (TeX ^{xxx})
> are rendered in small type, lowered or raised on the line.

> Since TeX is a markup language not a WYSIWYG application
> this is not helpful to the readability of the TeX source.

Sorry!

> How do I switch off this new behavior, while keeping the syntactic
> color highlighting (font lock) that is helpful when composing TeX?

In Emacs's builtin tex-mode, there's no config var to do that.
You can do it with the following hack:

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

In AUCTeX (and Emacs-CVS thanks to AUCTeX's maintainer) you can do it by
customizing some faces and vars (e.g. superscript face and
tex-font-script-display var or something like that).


        Stefan "100% guilty of implementing this (mis)feature"

       reply	other threads:[~2007-07-12 19:48 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2828.1183170710.32220.help-gnu-emacs@gnu.org>
2007-07-12 19:48 ` Stefan Monnier [this message]
     [not found] <20070630225915.BA9C05F435F@physsmtp.wustl.edu>
2007-07-01  2:02 ` tex mode sub- and super-scripts Mark Alford
2007-07-01  3:15   ` Eli Zaretskii
2007-07-01  8:43     ` Reiner Steib
2007-07-01 12:44       ` Stefan Monnier
2007-07-02 20:33         ` Reiner Steib
2007-07-05  3:32           ` Stefan Monnier
2007-07-09 19:17             ` Reiner Steib
2007-07-09 20:01               ` Stefan Monnier
2007-06-30  2:30 Mark Alford
2007-06-30  8:55 ` Peter Dyballa
2007-06-30  9:29   ` Sebastian Meisel
2007-06-30 11:00     ` Peter Dyballa
2007-06-30 15:24       ` Reiner Steib
2007-06-30  9:54   ` Reiner Steib
2007-06-30 15:16   ` Mark Alford
2007-06-30 16:02     ` Peter Dyballa
2007-06-30 18:27     ` Eli Zaretskii
2007-06-30 11:13 ` Eli Zaretskii
     [not found] ` <mailman.2836.1183193714.32220.help-gnu-emacs@gnu.org>
2007-07-01  8:40   ` David Kastrup

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv8x9ls8yf.fsf-monnier+gnu.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.