next up previous contents
Next: Page Numbers Up: Common LaTeX Operations Previous: Sections   Contents

Including Files

When working on large documents, it can be difficult to maneuver and edit a single file that contains all your text and LaTeX commands. Fortunately, LaTeX provides a mechanism for breaking large documents into smaller pieces. To accomplish this, you use the include and input commands.

The include command generates a page break and inserts the named file at the location of the command. The input command also inserts the file, but with no page break. The named file does not include the file extension, just the file name. For example, to include the file chapter.tex you would just specify the name chapter.


There are certain rules for doing this so consult the LaTeX documentation for more information.

Kevin O'Malley 2004-03-05