[Top][All Lists]

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

Re: LaTeX syntax highlighting

From: Franco Vite
Subject: Re: LaTeX syntax highlighting
Date: Fri, 21 Dec 2001 13:24:17 +0100
User-agent: Mutt/1.3.24i

[Fri, Dec 14, 2001 at 11:36:19PM +0100] - Matthias Knelangen scrive:
> 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 ...
 In my .emacs I've:

 ;; Settaggio dell'indentazione a colori automatica
 (global-font-lock-mode t)
 (add-hook 'font-lock-mode-hook(lambda()(setq font-lock-maximum-decoration t)))

 ;; Per andare a capo in automatico
 (setq fill-column 70)
 (setq auto-fill-mode t )

 ;;; LaTeX
 ;; load AUC TeX (enhanced LaTeX mode)
 (require 'tex-site)

 ;; Per AUC TeX
 (setq TeX-auto-save t)
 (setq TeX-parse-self t)
 (setq-default TeX-master nil)

 ;; Per andare a capo in modalita' tex
 (add-hook 'latex-mode-hook 'turn-on-auto-fill)

 ;; Per andare a capo in modalita' bibtex
 (add-hook 'bibtex-mode-hook 'turn-on-auto-fill)

> thanks
> matze

"Quello che abbiamo e' quello che ci siamo presi, e quello che ci siamo 
 presi e' solo una piccola parte di quello di cui abbiamo bisogno"
                                                       Assalti Frontali

reply via email to

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