Generalsubfiles | Files in separate Folders

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
muath
Posts: 30
Joined: Thu Jul 15, 2010 11:34 am

subfiles | Files in separate Folders

Post by muath »

Hi,

"Subfiles" package helps us to separate our file into subfiles (chapter), but I would like to put each chapter with its figures in a separated file, and so the cammand in the main file will be

Code: Select all

\subfile{folder name/filename}
But my question is: what things shall we write at the begining of the child file? I mean instead of

Code: Select all

\documentclass[./main.tex]{subfiles}

Thank You very much
Muath

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

muath
Posts: 30
Joined: Thu Jul 15, 2010 11:34 am

Re: subfiles | Files in separate Folders

Post by muath »

I do not if it is possible or not!
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

subfiles | Files in separate Folders

Post by Stefan Kottwitz »

Hi,

a solution is here: Subfiles package and nested files.

Stefan
LaTeX.org admin
muath
Posts: 30
Joined: Thu Jul 15, 2010 11:34 am

Re: subfiles | Files in separate Folders

Post by muath »

Thank you very much.
Post Reply