![Using "import" to facilitate main file in subfolder](https://writelatex.s3.amazonaws.com/published_ver/4375.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240701T021726Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=19a319ae722377393ba856fac85872adbbd97be45eb3d5bea4ef2ecd8e660061)
Using "import" to facilitate main file in subfolder
Author
LianTze Lim
Last Updated
8 years ago
License
Creative Commons CC BY 4.0
Abstract
Some authors prefer to place their manuscript LaTeX source files in a subfolder, and other research artefacts (figures, tables, etc) in another subfolder. This example shows how this workflow can be maintained on Overleaf, by providing a top-level main.tex
that pulls in the real main LaTeX file from the subfolder using the import
package.
![Using "import" to facilitate main file in subfolder](https://writelatex.s3.amazonaws.com/published_ver/4375.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240701T021726Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240701/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=19a319ae722377393ba856fac85872adbbd97be45eb3d5bea4ef2ecd8e660061)