General\title, \author don't get displayed

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
carol
Posts: 105
Joined: Wed Dec 24, 2008 7:25 pm

\title, \author don't get displayed

Post by carol »

Hi,
I have defined \documentclass[12pt,a4paper]{article} and I use a set of packages. Before \begin{document}, I put title{myTitle} and \author{Me} but don't get displayed. I get neither warning nor error message that they can't be displayed. Does anyone know why they don't get displayed and what prevents?

Thanks

Carol

Recommended reading 2024:

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

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

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: \title, \author don't get displayed

Post by frabjous »

Right after \begin{document}, did you include:
\maketitle

That's the command that actually prints the title.
carol
Posts: 105
Joined: Wed Dec 24, 2008 7:25 pm

\title, \author don't get displayed

Post by carol »

No I hadn't. I added and without adding \date, it prints the date of today. how to remove?

Moreover, Is there any predefined command for the authors' contact information (address, email), as appear on the papers?

Many thanks
frabjous wrote:Right after \begin{document}, did you include:
\maketitle

That's the command that actually prints the title.
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

\title, \author don't get displayed

Post by frabjous »

If you want remove the date, just add a blank \date{} near where you put \author{Me} and \title{MyTitle}.

As far as I know there's nowhere by default to put contact info in the article document class, but someone may know better. You can add stuff like that into \author if you want, e.g.:

Code: Select all

\author{Me \\ Institution or Organization \\ Address \\ \texttt{myemail@mydomain.com}}
Or you can just add it at the end as normal text. I could be wrong, however.
Post Reply