AUCTeX is a comprehensive, customizable integrated environment for
writing input files for TeX, LaTeX, ConTeXt, Texinfo, and docTeX using
Emacs.

It supports the insertion of macros, environments, and sectioning
commands by providing completion alternatives and prompting for
parameters.  It automatically indents text as you type and can format a
whole file at once.  Outlining and folding facilities provide a focused
and clean view of the document.

AUCTeX lets you process source files by running TeX and related tools,
such as output filters, index and bibliography processors, and viewers,
from inside Emacs.  Errors reported by TeX can be browsed, with the
cursor moved directly to the offending source, even when the document is
spread over several files.

It also includes preview-latex, which renders LaTeX fragments such as
display math and figures directly in the source buffer, giving a
WYSIWYG-like experience while retaining full control over the source.
