# Including standard boiler-plate on opening a new latex file [duplicate]

Most of my \LaTeX files have the same boiler plate code, so I would like Emacs to automatically insert this boiler-plate whenever I open a fresh, blank \LaTeX file.

In particular, I would like to include the following preamble.

    \usepackage{amsthm}
\usepackage{amssymb}
\usepackage[backend=bibtex, style=numeric, sorting=none]{biblatex}
\setlength\bibitemsep{\baselineskip}
\author{A.U.Thor}
\date{}

\begin{document}
\setcounter{tocdepth}{0}

\nocite{*}
\printbibliography
\end{document}


How should I modify my .emacs file to do this?

That page mentions mode Auto Insert, which is part of vanilla Emacs, and it describes libraries header2.el and file-template.el.