Possible Duplicate:
how to create a template or document class for latex?
Currently, whenever I create a new document, I add a reference in the header to
\input{header.tex}
where header.tex
contains a whole bunch of package imports and default settings I like to use. Is there a way to put all of these settings in a custom document class, or something similar, so that when I create new .tex
files, I can simply say, \documentclass{custom_article}
, instead of having to copy the same file to a new folder every time and then reference it?