我正在尝试执行我的代码:
\documentclass[MACS,english]{gucthesis}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc} % For utf8 encoded .tex files allows norwegian characters in the files. This can be dangerous if you change to a differnt editor.
\usepackage{hyperref}
\usepackage{graphicx} % For cross references in pdf
\usepackage{color} % For colouring text
\usepackage{url}
\usepackage{float}
\begin{document}
\input{MastersThesisData} % this is the file which contains all the details about your thesis
\makefrontpages % make the frontpages
\input{MastersIntro}
\tableofcontents
% Comment with a percent to remove figures or tables:
\listoffigures
\listoftables
\include{introduction} % includes latex files from the same directory
\include{packages} % could be called Methodology or methods or anyfile name
\include{structure} % could be results
\include{GRIPPERS}
\include{INTEGRATION}
\include{Conclusion}
\bibliographystyle{gucthesis}
\bibliography{MastersExample}
\appendix
\include{appendix}
\end{document}
但我收到了两个错误:
Missing = inserted for \ifnum. \usepackage
Missing number, treated as zero. \usepackage
谁能帮助我解决这个问题。
先感谢您! :)
答案1
我遇到了同样的错误。我有一个 *.cls 文件,其中有一个选项,如下所示:
\ProvidesClass{classname}[notes]
删除“ [notes]
”解决了该问题。最小工作示例(两个文件都在同一目录中):
类名.cls
\ProvidesClass{classname}[notes]
\LoadClass{report}
tex名称.tex
\documentclass{classname}
\begin{document}
test
\end{document}