Document ClassesOne class in another

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
Ashiataka
Posts: 12
Joined: Tue Jun 26, 2012 2:38 pm

One class in another

Post by Ashiataka »

I'm trying to put together one document which contains lots of different types of information. Some of it should read like a book, some of it like a screenplay and some pages should be letters.

Is there a way of doing this with Latex? I've tried to use the \include{file} command but I can't put a letter into a book.

Any suggestions would be appreciated. Thank you.
Last edited by cgnieder on Mon Sep 03, 2012 12:17 am, edited 1 time in total.

Recommended reading 2024:

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

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

Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

One class in another

Post by Stefan Kottwitz »

You could first produce pdf files each based on the desired class, then you can include those pdf files within a different main LaTeX document. The main document should load the pdfpages package, then you could use the command \includepdf for including the subdocuments.

Stefan
LaTeX.org admin
Ashiataka
Posts: 12
Joined: Tue Jun 26, 2012 2:38 pm

Re: One class in another

Post by Ashiataka »

Thank you :).
Post Reply