Document Classes ⇒ \input letter
\input letter
Is it possible to use \input{filename} when you want filename.tex to be treated as as different document class? Specifically, what I want is to include a letter as a page in my report.
Last edited by vaalsta on Fri Sep 03, 2010 8:06 am, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
\input letter
Compile the letter document separately to PDF and include it with pdfpages into your report. Note that this would only work when compiling directly with PDFLaTeX.
Best regards and welcome to the board
Thorsten
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: \input letter
Ok thanks. I did think about doing it that way, just wondered if it was possible to include it without pre-compiling.
Cheers.
Cheers.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
\input letter
You could try the combine class. But as far as I understand, you would only be able to attach the letter to your report but not free to place it where you want. I guess the manual can tell you more.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10