The simplest way is to compose a short file and make sure it is imported as the first element in every document. That, after all, is essentially what LaTeX is doing Pierre MacKay