[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LaTeX Syntax highlighting

From: Michael P. Soulier
Subject: Re: LaTeX Syntax highlighting
Date: Fri, 14 Dec 2001 22:22:25 -0500
User-agent: Mutt/1.3.24i

On 15/12/01 Matthias Knelangen did speaketh:

> Hi
> I would like to know how you can enable the highligting of Latex-commands in
> a document using GNU Emacs or XEmacs. If this might help I'm using GNU Emacs
> 20.7 (or XEmacs 21.1) on a suse 7.0 linux i386.
> I hope you can help me or I have to go mad trying to find my syntax-errors
> or I have to use jed ...
> thanks matze

    Assuming that you are in latex-mode or auctex-mode, you can enable syntax
highlighting by enabling global-font-lock mode. Put this in your ~/.emacs

(global-font-lock-mode t)

    Force latex-mode or auctex-mode with 

    M-x latex-mode RET
    M-x auctex-mode RET


Michael P. Soulier <>, GnuPG pub key: 5BC8BE08
"...the word HACK is used as a verb to indicate a massive amount
of nerd-like effort."  -Harley Hahn, A Student's Guide to Unix

Attachment: pgpD47aFlfR9R.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]