Generalwhat's difference between \include and \input

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
alwayssmile68
Posts: 5
Joined: Wed Oct 01, 2008 4:35 pm

what's difference between \include and \input

Post by alwayssmile68 »

we always use \include or \input to import external texts into current file. Please say something about their differences! Thanks.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

what's difference between \include and \input

Post by gmedina »

\include will always start a new page. With \include you have the \includeonly command.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

what's difference between \include and \input

Post by Stefan Kottwitz »

Hi,

perhaps this text might be helpful for you: Structuring Large Documents.

Stefan
LaTeX.org admin
Post Reply