Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I need to write a single, short PDF file that contains two distinct parts. I don't want to mess with PDF joins and hacks, as I need both parts to share page numbers, citations, etc. However, I want to use an article-like style for the sections and so on - A report style is an overkill. Is there a way to run \maketitle twice on the same document? Without additional hacks it yields no result (since that it is redefined to \relax after the first expand).

share|improve this question
add comment

1 Answer 1

up vote 12 down vote accepted

I believe the titling package does what you want.

From documentation:

The package inhibits the normal automatic cancellation of titling commands after \maketitle. This means that you can have multiple instances of the same, or perhaps different, titles in one document. Hooks are provided so that additional titling elements can be defined and printed by \maketitle.

If you want to shrink the amount of room your title takes up (apparently titling increases it slightly) you can add \setlength{\droptitle}{-1in}. This decreases the vertical space above your title by an inch. You can set it to whatever you like.

You can also redefine \pretitle \posttitle and similar commands to include less vertical space between elements of the title. Do so with care, you don't want to cramp your title too much. See the documentation for examples.

share|improve this answer
    
The titling package looks great, but it looks like it uses more vertical space than the standard article title (at least, it pushed my text down). Can it be tweaked to be shorter? –  Little Bobby Tables Dec 7 '10 at 13:24
    
I'll add a note in my answer... –  Seamus Dec 7 '10 at 14:29
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.