GeneralA customized title page with the article class

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
sombrancelha
Posts: 22
Joined: Fri May 18, 2007 6:48 pm

A customized title page with the article class

Post by sombrancelha »

Hello

I'm new to LaTeX and I'm about to finish my first work with it.

However, I need some help with the title page (I'm not sure about the name, but it's the first page, with title, your name, etc.). I'm using the article documentclass, but I'd like a title page similar to report's title page. I'd also like to add my teacher's name, the subject's name and my university number. How can I set LaTeX to do that?

Thanks

Recommended reading 2024:

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

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

User avatar
pumpkinegan
Posts: 91
Joined: Thu May 03, 2007 10:29 pm

A customized title page with the article class

Post by pumpkinegan »

Perhaps you should do it manually:

Code: Select all

\documentclass[12pt,a4paper,titlepage]{article}
\begin{document}

\begin{titlepage}
\vspace*{3cm}
\begin{center}
\Huge {Title of report} 
\end{center}
\vspace{2cm} 
\begin{center} 
\Large {Firstname Surname} \\[3pt]  
\textit{Affiliation} \\ 
\textit{Address} \\ [1cm] 
\today
\end{center}
\end{titlepage}

\clearpage
\section{First section}

\end{document}
Note that there is no \maketitle command. There are many customizations that you could try [small caps (\textsc), serif font (\textsf), bold font (\textbf), and different font sizes], but I hope the code above gives you a good start.

Patrick.
Last edited by pumpkinegan on Tue May 29, 2007 1:50 pm, edited 1 time in total.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

A customized title page with the article class

Post by localghost »

Don't forget to activate the titlepage environment with an option for the documentclass.

Code: Select all

\documentclass[12pt,a4paper,titlepage]{article}
…

\begin{document}
  \begin{titlepage}
    \centering
    …
  \end{titlepage}
  …
\end{document}
balfonsi
Posts: 93
Joined: Wed Mar 14, 2007 12:05 am

Re: Help with title page

Post by balfonsi »

Try the titling package: it has many possibilities for customising title pages.

B.A.
sombrancelha
Posts: 22
Joined: Fri May 18, 2007 6:48 pm

Re: Help with title page

Post by sombrancelha »

thanks for the replies, I'll soon try them.

balfonsi, where can I get this titling package and how do I use it?

Thanks everyone
balfonsi
Posts: 93
Joined: Wed Mar 14, 2007 12:05 am

Re: Help with title page

Post by balfonsi »

It's in the TeXLive distribution and in MiKTeX's. Or you can install it manually from one of the CTAN mirrors. Have a look at the TeX Catalogue On Line, it's quite useful for that kind of problem. Here's a link:

http://www.tex.ac.uk/tex-archive/help/C ... logue.html

Best regards,
B.A
Post Reply