[OS X TeX] Standard preamble

Alain Schremmer Schremmer.Alain at gmail.com
Tue Jul 18 12:00:15 EDT 2006

Victor Ivrii wrote:

> On 7/18/06, Alain Schremmer <Schremmer.Alain at gmail.com> wrote:
>> As I am working on the "magnum opus", because my knowledge of LaTeX is
>> extremely limited, I keep modifying the preamble. But because the magnum
>> opus is made of more and more files, I am having an increasingly
>> terrible time keeping all the preambles the same.
>> Is there a way each file could have a minimum preamble, say with just a
>> command to use the stuff in a "central" file which would then be the
>> only file I would modify?
> Well, the answer is yes but your question is ambivalent so I will try
> to list few answers:
> 1) You actually have plenty of independent files which should be
> processed independently.
> Make preamble.tex  and put
> \input{preamble.tex}
> instead of preamble of each of them.
> 2) In the end of the day you want just one document. Then create
> master.tex containing preamble and use \include{file1} ... to employ
> others
> 3) Like 2) but you need very different preambles due to very different
> nature of tex documents. Then this is more complicated (if you want to
> preserve inner links) but it is probably not what you want

What I wanted was 1) and I apologize: Rather than just trying, I had 
assumed that you couldn't possibly use \include in the preamble. Next 
time, I will try first.

Thanks to you and Spiegel.

Shameful regards
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/

More information about the MacOSX-TeX mailing list