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.
Asked
Active
Viewed 426 times
3
Real Dreams
- 8,298
- 12
- 56
- 78
1 Answers
12
I would separate them into different .sty files, and include them via \usepackage.
References:
Peter Grill
- 223,288
\usepackage(for.styfiles) or\input(for other files, like.tex). – Werner May 17 '12 at 01:22\includedoes not work in the preamble, because it is indented for chapters etc. See When should I use\inputvs.\include? for an explanation. – Martin Scharrer May 18 '12 at 08:28