LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-16-2010, 11:59 AM   #1
physcom
LQ Newbie
 
Registered: Aug 2010
Posts: 2

Rep: Reputation: 0
Latex problem: document details (author, date etc) will not display


The following are the two tex input files written in vi and compiled with pdflatex. In the first case the document details (author, date etc) are displayed as desired but are omitted in the second case. Can someone please explain why? The only difference is the use of maketitle. Thanks in advance.

Case 1:

\documentclass{article}
\author{Name}
\date{}
\title{Title}
\begin{document}
\maketitle
Text to be inputted
\end{document}

Case 2:

\documentclass{article}
\author{Name}
\date{}
\title{Title}
\begin{document}
Text to be inputted
\end{document}
 
Old 08-17-2010, 10:59 AM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
Welcome to LQ!

\maketitle is the command that puts the info within the document (things in the document environment)
 
Old 08-17-2010, 04:28 PM   #3
physcom
LQ Newbie
 
Registered: Aug 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Ah yes, it seems my question was a little trivial! thanks for the answer
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Latex. How to include landscape figures in 2 column article class document? justlearning2009 Programming 1 10-05-2009 10:23 PM
Debian lenny: texlive-latex-base, W: invalid date kaz2100 Debian 0 11-07-2008 10:09 PM
To find date and time of system Lock and Unlock details in the konsole cirque Linux - Security 1 06-28-2008 03:26 AM
Space above nad below the included graphics in document in latex srjoshi Linux - General 0 10-31-2007 08:57 AM
How do you change the font in a Latex document? will103 Linux - Software 2 12-26-2006 03:29 PM


All times are GMT -5. The time now is 06:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration