Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

\documentclass{article}

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

\begin{document}
\maketitle

\section{Introduction}
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.

\section{Conclusion}
Not much of a paper, but it's a start.

\end{document}

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 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 at 9:31
2  
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 at 9:34

1 Answer 1

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 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 at 9:40

Your Answer

 
discard

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.