Missing \begin{document} in Latex

I get error in Latex. It happened after I write {fancy} code. With this error Latex added one more page in my document and it just say

documentclass[a4paper]{article}
usepackage[english]{babel}
usepackage[utf8]{inputenc}
usepackage{amsmath}
usepackage{rotating}
usepackage{graphicx}
usepackage[colorinlistoftodos]{todonotes}
usepackage{graphicx}
usepackage{centering}

begin{document}
title{textbf{Economic Inequality in Turkey}}
date{December 2014}
pagebreak

text are here

end{document}

Some of Errors are:

Undefined control sequence. ->let reserved@e relax let reserved@f relax @ifstar {let reserv... l.10 The control sequence at the end of the top line of your error message was never def'ed. If you have misspelled it (eg, 'hobx'), type 'I' and the correct spelling (eg, 'Ihbox'). Otherwise just continue, and I'll forget about whatever was undefined.

Paragraph ended before reserved@b was complete. par l.10

Undefined control sequence. @fileswith@pti@ns ...served@b reserved@a ,@nil ,}fi reserved@a l.10

LaTeX Error: Missing begin{document}.

See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ...


我认为 usepackage { centering}中的(第二个)反斜杠是一个错字,尝试删除它。

链接地址: http://www.djcxy.com/p/33378.html

上一篇: LyX系统重新配置失败

下一篇: 在Latex中缺少\ begin {document}