Differences Between \input and \include Tags of Latex

\input{filename} append all commands defined in filename into the target file. This is equivalent to manually typing all the commands from filename right into the current file where the\input line is. (It may remember inline functions or macros of C).

\include{filename} is equivalent to call \clearpage before and after \input{filename}. So, filename must have all dependencies (commands) that it needs most of the time. 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s