GeneralMissing Title, Date, Author in final document

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
bcro
Posts: 2
Joined: Wed Aug 11, 2010 12:14 am

Missing Title, Date, Author in final document

Post by bcro »

Hi guys. I've been teaching myself Latex, and have recently hit a snag I was not able to find info on elsewhere. It's probably something simple.

The following test code:

Code: Select all

\documentclass{article}

\begin{document}

\title{Title}
\date{June 9, 1977}
\author{Name}

testingtestingtestingtestingtestingtestingtestingtesting
testingtestingtestingtestingtestingtestingtestingtesting

\end{document}
compiles without error, but the title, date and author do not show up in the DVI or PDF document (I've tried both). I've seen this in both Emacs/Auctex and TeXworks, using MikTeX 2.8. In all cases, I get the same result regardless of placing the \begin{document} line before or after the title/date/author entries. What gives?

No need to spare my ego if I've missed something obvious. Any suggestions or redirections to other posts would be helpful. Thanks.

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

bcro
Posts: 2
Joined: Wed Aug 11, 2010 12:14 am

Re: Missing Title, Date, Author in final document

Post by bcro »

\maketitle

Yeh, I got it. Sorry for cluttering up the forum.

Moderator, feel free to remove this post.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Missing Title, Date, Author in final document

Post by localghost »

bcro wrote:[…] No need to spare my ego if I've missed something obvious. Any suggestions or redirections to other posts would be helpful. […]
Sometimes it can be very useful to read some basic documentation [1]. This can spare a lot of time. Especially in cases like this.

[1] View topic: LaTeX Resources for Beginners


Best regards and welcome to the board
Thorsten
Post Reply