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[backend=bibtex, style=numeric, sorting=none]{biblatex} 



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


See the Emacs Wiki page Automatic File Headers.

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.