GeneralMaking layers in LaTeX

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
SDU-SimonLund
Posts: 1
Joined: Thu Nov 07, 2013 1:03 pm

Making layers in LaTeX

Post by SDU-SimonLund »

Hi,

I'm a total newbie, having problems, making layers in Texmaker. I have made a Master file in Texmaker, that i want to link some other secondary Texfiles too. How do i make these links, and which packages should for both master and secondary texfiles? Does the font, size, margin etc. repeat themselfs in the secondary files as i link to them?

I'm sorry if the topic is a little hard to understand. Writing English using "LSP" is a bit hard for me.
I'm also not sure, if i have created the topic in the right place, but please help me! ;)

Recommended reading 2024:

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

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

tom
Posts: 73
Joined: Thu Apr 18, 2013 4:02 am

Making layers in LaTeX

Post by tom »

Hi,

If I correctly understand what you mean by layer, then either \input{filename} or \include{filename} is what you are looking for. The only difference between the two is that include adds a page break (\clearpage). For example, you would create a master file where you load all packages and include individual chapter from separate files. This makes larger documents more manageable and you can easily exclude chapters which you are not working on. The content of loaded tex-files is treated as it was in the master file. So you won't have to worry about fonts, margins, etc.

HTH, Tom
Post Reply