Possible Duplicate:
How to make a standard preamble into a package
I often have the same preamble stuff in my documents that kind of clutter the work space a bit. Some are custom commands I've stolen from here or there and some are calls to packages.
In R I can use a function called source
that allows me to create an external file of these commands and then I can just call source
to read this external file and it's magically in the working memory (LINK to source info). It would be nice to do the same with LaTeX. Does LaTeX have this kind of capability?