我正在为我的博士论文使用以下 shell,并且我添加了太多包,以至于我不确定哪一个在 1 中的每一页中重新启动脚注。有人可以帮我吗?谢谢
%input macros (i.e. write your own macros file called MacroFile1.tex)
%\include{Macros/MacroFile1}
\PassOptionsToPackage{nottoc}{tocbibind}
\documentclass[oneside,12pt]{CUEDthesisPSnPDF}
\ifpdf
\pdfinfo { /Title (CUED PhD and MPhil Thesis Classes)
/Creator (TeX)
/Producer (pdfTeX)
/Author (Harish Bhanderi [email protected])
/CreationDate (D:20030101000000) %format D:YYYYMMDDhhmmss
/ModDate (D:20030815213532)
/Subject (Writing a PhD thesis in LaTeX)
/Keywords (PhD, Thesis)}
\pdfcatalog { /PageMode (/UseOutlines)
/OpenAction (fitbh) }
\fi
\title{ }
\ifpdf
\author{\href{mailto:[email protected]}{ \\ \vspace{3mm} PhD}}
\collegeordept{\href{http://www.york.ac.uk/}{University of }}
\university{\href{http://www.york.ac.uk/economics/}{Department of }}
% insert below the file name that contains the crest in-place of 'UnivShield'
\crest{\includegraphics[width=0.1mm]{UnivShield}}
\else
\author{ }
\collegeordept{ }
\university{ }
% insert below the file name that contains the crest in-place of 'UnivShield'
\crest{\includegraphics[bb = 0 0 292 336, width=30mm]{UnivShield}}
\fi
%
% insert below the file name that contains the crest in-place of 'UnivShield'
% \crest{\IncludeGraphicsW{UnivShield}{40mm}{14 14 73 81}}
%
%\renewcommand{\submittedtext}{change the default text here if needed}
\degree{}
\degreedate{ }
% turn of those nasty overfull and underfull hboxes
\hbadness=10000
\hfuzz=50pt
% Put all the style files you want in the directory StyleFiles and usepackage like this:
%\usepackage{subcaption}
%\usepackage[demo]{graphicx}
%\usepackage{subfigure}
%\usepackage{amsmath}
%\usepackage{subcaption}
%\usepackage{hyperref}
\usepackage{footmisc}
\usepackage{amssymb}
\usepackage{textcomp}
\usepackage{graphicx}
\usepackage{setspace}
%\usepackage{booktabs}
%\usepackage{threeparttable}
\usepackage[para,online,flushleft]{threeparttable}
\usepackage{amsmath,caption, booktabs}
%\usepackage{booktabs,caption,fixltx2e}
\usepackage{watermark}
%\usepackage{draftwatermark}
%\usepackage{minitoc}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead{}
\fancyhead[L]{{\leftmark}}
\fancyhead[R]{}
% Comment out the next line to get single spacing
\onehalfspacing
\hyphenation{di-fferent}
\hyphenation{subs-trate}
\begin{document}
\begin{doublespace}
\dominitoc %Per-chapter table of contents (James)
%\language{english}
% A page with the abstract on including title and author etc may be
% required to be handed in separately. If this is not so, then comment
% the below 3 lines (between '\begin{abstractseparte}' and
% 'end{abstractseparate}'), normally like a declaration ... needs some more
% work, mind as environment abstracts creates a new page!
% \begin{abstractseparate}
% \input{Abstract/abstract}
% \end{abstractseparate}
% Using the watermark package which is in StyleFiles/
% and to remove DRAFT COPY ONLY appearing on the top of all pages comment out below line
%\watermark{DRAFT COPY ONLY}
%\SetWatermarkLightness{0.9}
%\SetWatermarkText{\textsf{\textbf{DRAFT}}}
%\SetWatermarkScale{6.0}
%set the number of sectioning levels that get number and appear in the contents
\setcounter{secnumdepth}{4}
\setcounter{tocdepth}{4}
\setcounter{minitocdepth}{4}
\maketitle
\frontmatter % book mode only
\pagenumbering{roman}
\include{Abstract/abstract}
\tableofcontents
\listoffigures
\listoftables
\include{Acknowledgement/acknowledgement}
\include{Declaration/declaration}
%\printnomenclature %% Print the nomenclature
%\addcontentsline{toc}{chapter}{Nomenclature}
\setcounter{mtc}{4} %Per-chapter table of contents (James)
\mainmatter % book mode only
\include{Introduction/introduction}
\include{Chapter1/chapter1}
\include{Chapter2/chapter2}
\include{Chapter3/chapter3}
\include{Chapter4/chapter4}
%\include{Chapter5/chapter5}
\include{Conclusions/conclusions}
%\include{Symbols/symbols}
\pagestyle{fancy}
\fancyhead{}
\fancyhead[L]{{}}
\fancyhead[R]{}
\backmatter % book mode only
%\addcontentsline{toc}{chapter}{Appendix}
\appendix
\pagestyle{fancy}
\fancyhead{}
\fancyhead[L]{{APPENDIX}}
\fancyhead[R]{}
%\include{Appendix1/appendix1}
\include{Appendix2/appendix2}
\include{Appendix3/appendix3}
\pagestyle{fancy}
\fancyhead{}
\fancyhead[L]{{\leftmark}}
\fancyhead[R]{}
\include{References/references}
%\printbibliography
\end{doublespace}
\end{document}
答案1
您的自定义类正在加载,\usepackage[perpage]{footmisc}
它将脚注设置为按照指定的方式在每一页重新启动。
由于您有该.cls
文件,您可以打开它,删除有问题的行并保存它。
答案2
你可能不喜欢我的答案,因为它会建议添加另一个包!尝试使用更改中心包。我知道你可以用它来避免在每一章都重新启动计数器
\usepackage{chngcntr}
\counterwithout{footnote}{chapter}
这基本上覆盖了每章计数器的重置。
尝试
\usepackage{chngcntr}
\counterwithout{footnote}{page}