Demonstration of the subfiles package

Author
LianTze Lim
View Count
2750
License
Creative Commons CC BY 4.0
Abstract

The subfiles package and class can help with typesetting multi-file projects, where subsidiary files will inherit the main file's preamble when they themselves are compiled (i.e. "set as main" in Overleaf projects.

Note, though, that at present .tex files inside a folder cannot be set as a project's main file.

Demonstration of the subfiles package