我正在使用我所在机构的论文模板撰写论文。以前,我的工作代码运行良好。几个月来我都没有研究过这个。昨天我再次尝试运行它时,出现了许多错误。我使用 TeXstudio 和 MikTeX。我的工作代码如下:
\makeatletter
\let\my@xfloat\@xfloat
\makeatother
\documentclass[oneside,12pt,a4paper]{book}
%\documentclass[12pt,a4paper]{book}
\usepackage{UTMThesis, enumerate, amsfonts, longtable, qtree, etoolbox, array, rotating, pgf, tikz, tikz-cd, algorithm, csquotes}
\makeatletter
\def\@xfloat#1[#2]{
\my@xfloat#1[#2]%
\def\baselinestretch{1}%
\@normalsize \normalsize
}
\makeatother
\allowdisplaybreaks
\usetikzlibrary{arrows, matrix, positioning, shapes, shapes.geometric, calc, intersections, decorations.pathreplacing}
\newcommand{\tikznode}[2]{\relax
\ifmmode%
\tikz[remember picture,baseline=(#1.base),inner sep=0pt] \node (#1) {$#2$};
\else
\tikz[remember picture,baseline=(#1.base),inner sep=0pt] \node (#1) {#2};%
\fi}
\let\openbox\relax
\let\iint\relax
\let\iiint\relax
\let\iiiint\relax
\let\idotsint\relax
\newcommand*{\qed}{\hfill\ensuremath{\square}}
%-------------------------------------------------------------
\usepackage{cite}[sort] % change cite from [1,2,3] to [1-3] etc for number system
\makeatletter % change from
\renewcommand{\@biblabel}[1]{#1.} % [1] to 1. etc
\makeatother % in list of references
%-----------------------------------------------------------
\setlength{\voffset}{-2.1cm}
\setlength{\hoffset}{-.4cm}
%--------------------------------------------------------
\font\fiverm=cmr5 \input{Pictex.tex} % using pictex
%---------------------------------------------------------
%\pagestyle{plain}
%-------------------------------------------------------
\usepackage{fancyhdr}
\pagestyle{fancy}
\lhead{}
\chead{}
\rhead{}
\lfoot{}
\cfoot{\vspace{-.35cm}\thepage} %
\rfoot{}
\renewcommand{\headrulewidth}{0pt}
%-------------------------------------------------------
\begin{document}
\frontmatter
\input{frontmatter/FrontTitle}
\input{frontmatter/Validation.tex}
\input{frontmatter/SupervisorDeclaration.tex}
\input{frontmatter/Title.tex}
\input{frontmatter/Declaration.tex}
\input{frontmatter/Dedication.tex}
\input{frontmatter/Acknowledgement.tex}
\input{frontmatter/Abstract.tex}
\input{frontmatter/Abstrak.tex}
% \tableofcontents
\input{frontmatter/TableofContents(Final).tex}
%\input{TableofContents(Final1).tex}
\input{frontmatter/ListofTables(Final).tex}
\input{frontmatter/ListofFigures(Final).tex}
\input{frontmatter/ListofAbbreviations.tex}
\input{frontmatter/ListofSymbols.tex}
\mainmatter
\input{main/Chap1.tex} %Chapter1
\input{main/Chap2.tex} %Chapter2
\input{DummyChapter.tex}
\input{main/Chap3.tex} %Chapter3
\input{DummyChapter.tex}
\input{main/Chap4.tex} %Chapter4
\input{DummyChapter.tex}
\input{main/Chap5.tex}
\input{main/Chap6.tex} %Chapter5
\input{main/Chap7.tex}
\input{ThesisRefUTMn(Final).tex}%
\input{DummyChapter.tex}
\input{main/ListofPublications}
\input{DummyChapter.tex}
\input{main/AppendixA.tex}
\input{DummyChapter.tex}
\input{main/AppendixB.tex}
\backmatter
\end{document}
我收到的错误如下:
我的完整工作代码可以通过此链接获取:
https://drive.google.com/file/d/1Rk-SSZDNpN5BIhQtThF08SU0D0z-jnR-/view?usp=sharing
请问,如何解决这个问题?