Latex

\include vs. \input

When a project is split up in several separate *.tex files, the right function has to be used to put it all together in a main tex file.

\include is basically a \clearpage \input \clearpage construct, which will lead to pagebreaks for every included file.

\input would be the weapon of choice, if e.g. each file contains a section and no pagebreak is wanted for each one.

latex.txt · Last modified: 2010/07/01 16:38 (external edit)
CC Attribution-Noncommercial-Share Alike 3.0 Unported chimeric.de = chi`s home Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0