When I insert two tables with \include into my main.tex file, each table floats to a separate page. I would like to fit them into one page and mesh with the rest of the document. I can do that when the code for tables is contained in the main.tex file but obviously this complicates maintenance of the document tremendously.
Asked
Active
Viewed 539 times
1
DoubleDecker
- 13
1 Answers
2
The command \include issues a new page before reading in the file, whereas \input acts as if the file were directly included at that point.
I use \include for things like chapters which are on a new page anyway, and \input for parts of the document that may be in multiple different documents or otherwise not directly related to the current file.
This question and this page have more details.
\documentclass{...}and ending with\end{document}. – jub0bs Mar 25 '14 at 21:13\insert?? where is that defined I have never seen that command. – David Carlisle Mar 25 '14 at 21:19\include, then that's normal behavior; use\input; however a minimal example is necessary. – egreg Mar 25 '14 at 21:20