Demonstration of the subfiles package
5 anni fa
Creative Commons CC BY 4.0
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.