# Combine two .tex files [closed]

I'm making my phd dissertation in LaTeX. Although I am a noob, everything works like a charm, but now I have to make the titlepage. My university had a LaTeX `.tex` file (with `.sty` file,...) which produces a titlepage.

I tried to include this titlepage with `\include`, but it won't work. Probably since both have a different documentclass etc. Is there any possibility to make one single `.tex` file (which refers to the titlepage `.tex` file?)

-

## closed as too localized by David Carlisle, Stefan Kottwitz♦Mar 1 '13 at 20:46

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

You can't merge document classes like that but most title page definitions are not that complicated, a few font size and spacing commands and perhaps a logo or two. It probably isn't that hard to add the relevant definitions to the preamble of your existing document. Hard to give details with no information though. –  David Carlisle Mar 1 '13 at 20:02
indeed, that did the trick. Not difficult at all. –  pieter Mar 1 '13 at 20:08
Welcome to TeX.sx! You can format code by using the `{}` button in the edit window. –  Peter Jansson Mar 1 '13 at 20:19
@pieter glad you got it working, if that's it we'll probably close the question as too localised as we don't like to leave questions unanswered. –  David Carlisle Mar 1 '13 at 20:22
Note that you can also include a page (or some pages, or all) of an existing pdf file in your LaTeX document using the `pdfpages` package. –  mbork Mar 1 '13 at 20:28