![Using "import" to facilitate main file in subfolder](https://writelatex.s3.amazonaws.com/published_ver/4375.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240726T232951Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240726/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=2b40420412fa259039cac7d4a9fb1466e6decd6e88a56ae374133d83861510ca)
Using "import" to facilitate main file in subfolder
Autor
LianTze Lim
Letzte Aktualisierung
vor 8 Jahren
Lizenz
Creative Commons CC BY 4.0
Abstrakt
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=20240726T232951Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240726/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=2b40420412fa259039cac7d4a9fb1466e6decd6e88a56ae374133d83861510ca)