GeneralPreamble in separate file

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
mppxtylr
Posts: 5
Joined: Mon Mar 14, 2011 9:13 am

Preamble in separate file

Post by mppxtylr »

Hi there,

I am writing a document in Latex that has a lot of preamble, to the point where it is annoying to scroll through to find the document's content. Is it possible to place this preamble into a separate file and use the \include command?

Thanks :)

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Preamble in separate file

Post by frabjous »

You could put it in another file and use the \input command instead of \include. \include only make sense for chapters.
Post Reply