TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I made my a latex file on Kile in Ubuntu. The script that I used was


\title{Hello, Cruel World!}
\author{Obedient Grad Student}


This is where you tell people why they should bother reading your article.

\section{Literature Review}
This is the section that is invariably much longer than it should be, and
where everyone tries to impress peers about how easy it is to locate various
references in online databases.

Not much of a paper, but it's a start.


The first problem is that the title and the text start on the same line. The title and the author are on the same line. Secondly the documentclass is getting pinted i.e. the article starts with the word article!

Hope someone can help.

share|improve this question
Welcome to TeX.SX! A tip: If you indent lines by 4 spaces or enclose words in backticks `, they'll be marked as code, as can be seen in my edit. You can also highlight the code and click the "code" button (with "{}" on it). – Christian Hupfer Aug 7 '14 at 9:29
Looks like you have problems with TeX installation. I have no problem compiling it in Ubuntu 14.04 with TeX distributed with it. – m0nhawk Aug 7 '14 at 9:31
You are probably trying to compile with pdftex instead of pdflatex (and getting tons of errors). Check the building options in Kile. – egreg Aug 7 '14 at 9:34

As @egreg commented above, make sure you compile with pdflatex rather than pdftex - this is what your example looks like when I compile it with pdflatex:

enter image description here

For Comparison

compiling with pdftex gives exactly the output described by the OP

enter image description here

share|improve this answer
In as much does this answer the question of the OP? – Christian Hupfer Aug 7 '14 at 9:33
in that the given example - when compiled with pdflatex - is fine and gives the expected output. @egreg seems on the right path with his comment - I'll incorporate that into my answer to make it more useful. – greyshade Aug 7 '14 at 9:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.