\documentclass{MastersDoctoralThesis} % The class file specifying the document structure
\usepackage[utf8]{inputenc} % Required for inputting international characters
\usepackage[T1]{fontenc} % Output font encoding for international characters
\usepackage[dvips]{epsfig,psfrag}
\usepackage{mathpazo} % Use the Palatino font by default
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{floatrow}
\usepackage[none]{hyphenat} % suppress hyphenation *globally*
\sloppy
\newcommand{\HY}{\hyphenpenalty=25\exhyphenpenalty=25}
% re-enable hyphenation locally inside "Z" columns
\newcolumntype{Z}{>{\HY\RaggedRight\arraybackslash\hspace{0pt}}X}
%\usepackage[backend=bibtex,style=authoryear,natbib=true]{biblatex} % Use the bibtex backend with the authoryear citation style (which resembles APA)
\usepackage{biblatex}
\addbibresource{bibliography} % The filename of the bibliography
\usepackage[autostyle=true]{csquotes} % Required to generate language-dependent quotes in the bibliography
\usepackage{float}
\usepackage{lipsum}
\usepackage{subfig}
\usepackage{adjustbox}
\usepackage{tabularx,booktabs}
\usepackage{mathtools}
\usepackage{array}
\usepackage{dcolumn}
\newcolumntype{P}{>{\raggedright\arraybackslash}X}
\setlength\tabcolsep{2pt}
\captionsetup{
justification = centering
}
\usepackage{amsmath}
\DeclareMathOperator{\Pa}{Pa}
\newcolumntype{d}[1]{D{.}{.}{#1}}
\setlength\tabcolsep{2pt}
\begin{document}
\include{Chapters/Introduction}
\include{Chapters/Chapter2}
\include{Chapters/Chapter3}
\include{Chapters/Chapter4}
\include{Chapters/Chapter5}
\include{Chapters/Chapter6}
\include{Chapters/Chapter7}
\end{document}
我在定义第五章时遇到此错误:
File ended while scanning use of \caption@xdblarg. \include{Chapters/Chapter5}
我对 latex 还很陌生,不知道该如何修复。似乎第 5 章的一部分可以显示,而其他部分则不显示。
提前致谢!