TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Preamble of my tex file is going to be so long, Can I divide it to some smaller and reusable files? I used \include but it seems that it did not include any thing.

share|improve this question
Either use \usepackage (for .sty files) or \input (for other files, like .tex). – Werner May 17 '12 at 1:22
\include does not work in the preamble, because it is indented for chapters etc. See When should I use \input vs. \include? for an explanation. – Martin Scharrer May 18 '12 at 8:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.