Go to Page Main Content
NASA - Goddard Institute for Space Studies
FIND IT @ NASA
NASA Homepage Goddard Institute for Space Studies

Hypertext Help with LaTeX

\include

\include{file}

The \include command is used in conjunction with the \includeonly command for selective inclusion of files. The file argument is the first name of a file, denoting file.tex. If the file is also in the file list of the \includeonly command or if there is no \includeonly command, the \include command is equivalent to

    \clearpage \input{file} \clearpage

except that if the file file.tex does not exist, then a warning message rather than an error is produced. If the file is not in the file list, the \include command is equivalent to \clearpage.

The \include command may not appear in the preamble or in a file read by another \include command.


See also Splitting the Input
See also \input
Return to the LaTeX Table of Contents


Revised 30 Oct 1995.

+ GISS Home

tools
  • Software Tools Main Page
  • GCM Model E
  • GCM Model AOM-GR
  • GCM Model II
  • Panoply netCDF Viewer
  • G.Projector Map Maker
  • Mars24 Sunclock
USA.gov

End of Page