JourneysInLife

May life take you on many journeys

Latex – Breaking a Large Document Into Multiple Files

Parent Document

To break up a Latex document, use the subfile package

\usepackage{subfiles}

Then simply include the subdocument into the main document as follow:

\subfile{sections/Chapter01}

Sub Documents

Simply refer to the main document from any sub-documents as follow:

\documentclass[../MyLargeDoc]{subfiles}

Recompiling the main document will pull in any changes made to the subdocuments.

JourneysInLife © 2017 Frontier Theme