[OS X TeX] Standard preamble

Victor Ivrii vivrii at gmail.com
Tue Jul 18 11:37:21 EDT 2006


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

> Regards
> --schremmer
>
>
> ------------------------- 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/
>
>


-- 
========================
Victor Ivrii, Department of Mathematics, University of Toronto
------------------------- 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