compiler-errors - Latex中缺少\begin {document}

我在Latex中出错。我写了{fancy}代码后就发生了。有了这个错误,Latex在我的文档中又增加了一页,它只是说

\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}

一些错误是:

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 (e.g., '\hobx'), type 'I' and the correct spelling (e.g., 'I\hbox'). 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}中的(第二个)反斜杠是一个错字,请尝试将其删除。

https://stackoverflow.com/questions/27768034/

相关文章:

compilation - 如何在Windows上的SCons中导出具有备用扩展名的程序

android - Android Delphi xe7中的错误

macos - AudioFileReadPackets错误-50

compiler-errors - Lazarus IDE-编译失败: Cannot open in

c# - 如何从 C# 中的封闭构造类中获取基类对象

opencv - 使用 CUDA 支持构建 OpenCV transpose.cu 上的错误

actionscript-3 - 如果使用 Flash Builder 4.7 而不是 4.6,则基

compiler-errors - 如何解决MiniZinc错误: “model inconsist

caching - 如何处理并发Web用户的重置CS-Script

actionscript-3 - for(const i)而不是(var i)