This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) (format=pdflatex 2012.11.7) 13 NOV 2012 11:24 entering extended mode %&-line parsing enabled. **ts.tex (./ts.tex LaTeX2e <2009/09/24> Babel and hyphenation patterns for english, usenglishmax, dumylang, noh yphenation, farsi, arabic, croatian, bulgarian, ukrainian, russian, czech, slov ak, danish, dutch, finnish, french, basque, ngerman, german, german-x-2009-06-1 9, ngerman-x-2009-06-19, ibycus, monogreek, greek, ancientgreek, hungarian, san skrit, italian, latin, latvian, lithuanian, mongolian2a, mongolian, bokmal, nyn orsk, romanian, irish, coptic, serbian, turkish, welsh, esperanto, uppersorbian , estonian, indonesian, interlingua, icelandic, kurmanji, slovenian, polish, po rtuguese, spanish, galician, catalan, swedish, ukenglish, pinyin, loaded. ! LaTeX Error: \usepackage before \documentclass. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.2 \usepackage{ graphics,amsmath,amsfonts,amssymb} ? x Here is how much of TeX's memory you used: 6 strings out of 493848 255 string characters out of 1152823 47808 words of memory out of 3000000 3381 multiletter control sequences out of 15000+50000 3640 words of font info for 14 fonts, out of 3000000 for 9000 714 hyphenation exceptions out of 8191 5i,0n,5p,57b,14s stack positions out of 5000i,500n,10000p,200000b,50000s No pages of output. PDF statistics: 0 PDF objects out of 1000 (max. 8388607) 0 named destinations out of 1000 (max. 500000) 1 words of extra memory for PDF output out of 10000 (max. 10000000)