Using Emacs for LaTeX
AUCTeX is an Emacs package that provides considerable help for LaTeX (and
TeX in general).
E.g., it will insert the \begin{}...\end{}
constructs, helps
you with the syntax, etc.
See the AUCTeX
section in the EMACS chapter for
more details.