![Using "import" to facilitate main file in subfolder](https://writelatex.s3.amazonaws.com/published_ver/4375.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240727T033037Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240727/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=7303c66a0e615055e0d6a9c89d3d018ac6f6dac54fa86f14b59c7029fe1825eb)
Using "import" to facilitate main file in subfolder
Forfatter
LianTze Lim
Sidst opdateret
8 år siden
Licens
Creative Commons CC BY 4.0
Resumé
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=20240727T033037Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240727/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=7303c66a0e615055e0d6a9c89d3d018ac6f6dac54fa86f14b59c7029fe1825eb)