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.

Possible Duplicate:
How can I get \maketitle to create a separate title page with the article class?

I'm trying to vertically center the title page and abstract in my LaTeX document (much like the report class does). I'm using the article class now. Essentially what I want is the report class without chapters, just sections and subsections etc.

share|improve this question
Welcome to TeX.sx! Your question was migrated here from another stackexchange site. Please register on this site, too, and make sure that both accounts are associated with each other, otherwise you won't be able to comment on or accept answers or edit your question. –  doncherry Dec 2 '11 at 19:19
add comment

migrated from stackoverflow.com Dec 2 '11 at 19:09

This question came from our site for professional and enthusiast programmers.

marked as duplicate by doncherry, lockstep, Torbjørn T., Stefan Kottwitz Dec 2 '11 at 21:05

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2 Answers

Use the titlepage class option.







share|improve this answer
what does this class do exactly? –  Mike Stumpf Jul 5 '12 at 17:55
add comment

By default, section-level numbering is defined in report.cls as

\renewcommand \thesection {\thechapter.\@arabic\c@section}

which prepends the section number with \thechapter.. The other lower-level sectioning commands follow a similar hierarchy. As such, you could just use the report document class and remove the \chapter numbering from (all) the lower-level sectioning commands (like \section and \subsection) using


Other chapter-related may also require redefinition, although this is not technically necessary. For example, \theequation, \thefigure and \thetable all condition on the value of the chapter counter, prepending it with \thechapter. only if \c@chapter>\z@ (chapter counter is greater than zero, which is only incremented from 0 at the first sign of \chapter). Regardless and for completeness:


Here's a minimal example (without anything special) that just shows the sectioning structure:

enter image description here

\usepackage{lipsum}% http://ctan.org/pkg/lipsum
\author{A.\ Nonymous} \title{My title} \date{\today}
\section{First section} \lipsum[1]
\subsection{First subection} \lipsum[2]
\subsection{Second subsection} \lipsum[3]
\subsubsection{First subsubsection} \lipsum[4]
\section{Second section} \lipsum[5]
share|improve this answer
One would also have to redefine \thefigure and \thetable. –  lockstep Dec 2 '11 at 19:27
@lockstep: Didn't think of that... thanks. I'll elaborate and add. However, it seems not to be necessary since report conditions on whether \c@chapter>\z@ which helps. –  Werner Dec 2 '11 at 19:28
add comment