当我尝试编译源代码时,我不断收到以下错误消息:
! Undefined control sequence
之前,我无法编译,看到另一个问题已经回答并添加
\usepackage{etex}
到我的代码。现在,在编译时,我得到了上述未定义的控制序列,引用
\delete
以下是 MWE:
\documentclass[a4paper,12pt,twoside]{book}
\usepackage{etex}
\usepackage{amsmath,amssymb,amscd,amsbsy,array,color,epsfig}
\usepackage{changes}
\begin{document}
\chapter{Logic, Set Theory, Functions, and Relations.}
\section{Mathematical Logic.}
\subsection{Introduction.}
\small{Analysis is all about the theory behind Calculus. In this course, we do not take for granted such notions as what the set $\mathbb{R}$ of real numbers is; rather we carefully define $\mathbb{R}$ by `building' it out of other sets - beginning with the set $\mathbb{N}$ of Natural Numbers. Numbers and number systems (i.e. $\mathbb{N}, \mathbb{Z}, \mathbb{Q}, \mathbb{R},$ and $\mathbbC}$) are the `building-blocks' of Analysis. Here in this book, we do not merely state the properties of the Real Number System, but we derive them. \\
However, \deleted[id=MD,remark=blah blah blah]{Would you like any toast?} before we do that (and we shall in Chapter 1), we first \delete[id=MD,remark=blah blah blah]{present} this introductory chapter - Chapter 0 - in order to give the reader the tools needed to carry on this study of the branch of mathematics known as Analysis. Here, we present a `brief' review of Mathematical Logic, Set Theory, Functions, and Relations; and we `informally' define a few sets of which we shall make frequent use of in Analysis. All of them (or most of them) shall be dealt with more formally in the next chapter.}
\end{document}
我遗漏了我使用的许多附加包,由于错误在文档中出现得如此之快,我只显示了文档本身的第一部分。请原谅我,因为我对 changes 包没有什么经验,但我认为我加载正确,语法也正确。
谢谢,-MD
答案1
您当前的文档存在以下错误或问题:
\mathbbC}
->\mathbb{C}
;changes
没有定义\delete
,只有\deleted
;您需要将author/id定义
MD
为“更改作者”才可以使用,因此\definechangesauthor[<options>]{MD}
加载后需要\usepackage{changes}
;不建议使用它
\\
来分隔段落。留空行或发出明确\par
。如果您不喜欢缩进,请参阅关闭单行段落缩进。或者,\setlength{\parindent}{0pt}
将删除文档中的所有段落缩进。
这是一个完整的最小示例:
\documentclass{article}
\usepackage{amssymb,changes}
\definechangesauthor{MD}
\begin{document}
Analysis is all about the theory behind Calculus. In this course, we do not
take for granted such notions as what the set~$\mathbb{R}$ of real numbers
is; rather we carefully define~$\mathbb{R}$ by `building' it out of other
sets---beginning with the set~$\mathbb{N}$ of Natural Numbers. Numbers and
number systems (\textit{i.e.\/}\ $\mathbb{N}$, $\mathbb{Z}$,
$\mathbb{Q}$,~$\mathbb{R}$ and~$\mathbb{C}$) are the `building-blocks' of
Analysis. Here in this book, we do not merely state the properties of the
Real Number System, but we derive them.
However, \deleted[id=MD,remark=blah blah blah]{Would you like any toast?}
before we do that (and we shall in Chapter 1), we first
\deleted[id=MD,remark=blah blah blah]{present} this introductory
chapter---Chapter~0---in order to give the reader the tools needed to carry
on this study of the branch of mathematics known as Analysis. Here, we
present a `brief' review of Mathematical Logic, Set Theory, Functions, and
Relations; and we `informally' define a few sets of which we shall make
frequent use of in Analysis. All of them (or most of them) shall be dealt
with more formally in the next chapter.
\end{document}