Page LayoutPutting layout in seperate file

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
madeye
Posts: 7
Joined: Wed Sep 30, 2009 12:54 pm

Putting layout in seperate file

Post by madeye »

I am used to doing CSS and XHTML, and find it nice to have the layout and contents in their own file. Now I am wondering if this is also possible in LaTex.

A search did not turn up an answer. So if anyone could point me in the right direction, I would appreciate it.
Last edited by madeye on Fri Oct 09, 2009 7:13 pm, edited 1 time in total.
Madeye

Recommended reading 2024:

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

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

User avatar
Stefan Kottwitz
Site Admin
Posts: 10323
Joined: Mon Mar 10, 2008 9:44 pm

Putting layout in seperate file

Post by Stefan Kottwitz »

Hi,

you could put your "layout" commands in a separate file and include it by \input.
Some people even put the whole preamble in a tex file and include it to separate it or to reuse it with other documents.

Stefan
LaTeX.org admin
madeye
Posts: 7
Joined: Wed Sep 30, 2009 12:54 pm

Re: Putting layout in seperate file

Post by madeye »

This is kind of scary... :D
I've only just posted the question, and there is an answer after only a few minutes.

The input command is exactly what I am looking for. Thanks alot.
Madeye
Post Reply