Auctex mode in Emacs on Ubuntu(Jaunty)


sudo apt-get install auctex, preview-latex-style

#Once installed add the below mentioned part in your ".emacs" file.

;; Math mode for LaTex (add-hook 'LaTeX-mode-hook 'LaTeX-math-mode)

;;mouse scrolling (mouse-wheel-mode t)

;; spellcheck in LaTex mode (add-hook `latex-mode-hook `flyspell-mode) (add-hook `tex-mode-hook `flyspell-mode) (add-hook `bibtex-mode-hook `flyspell-mode)

;; Show line-number and column-number in the mode line (line-number-mode 1) (column-number-mode 1)

;; highlight current line (global-hl-line-mode 1)

Restart Emacs and you have Auctex enabled. 😀