我正在写博士论文。大学要求使用受版权保护作品的章节必须在标题中标有脚注,声明受版权保护的材料。标题脚注必须是星号,所有其他脚注都需要使用以 1 开头的阿拉伯语样式。
通常的建议是包含,然后我可以使用和\usepackage[symbol*]{footmisc}
在符号样式和阿拉伯样式之间切换。但是将包含的 tex 文件放在更高的目录中会干扰正确的结果。只要不包含 footmisc 包,阿拉伯语、罗马语和 alph 样式就可以工作。包含时,脚注上会调用以下错误。\renewcommand{\thefootnote}{\fnsymbol{footnote}}
\renewcommand{\thefootnote}{\arabic{footnote}}
(hyperref) removing `\uppercase' on input line 5.
! Undefined control sequence.
<argument> \baselinestretch
l.5 ..., Phys. Rev. D\textbf{76}, 094513 (2007).}}
以下是将子文件组装成一个文档的主 tex 文件:
\documentclass[12pt]{report}
\usepackage{slashed} %provides /slash for Feynman slash notation
\usepackage{tamuconfig} %Something from the university, mostly don't question it
\usepackage[T1]{fontenc} %Font style, default from univesity
\usepackage{graphicx} %Import graphics
\DeclareGraphicsExtensions{.png} %Default graphic extension is *.png
\graphicspath{ {./graphic/} } %Graphics located om ./graphic
\usepackage[hidelinks]{hyperref} %Include hyperlinks in PDF, but don't highlight them
\usepackage{amssymb} %Math symbols
\usepackage[symbol*]{footmisc} %Suggested method to allow asterisks for footnote marker
\begin{document}
\include{data/titlepage} % This is simply a file that formats and adds your titlepage, please do not edit this unless you have a specific need.
\include{data/abstract}
\include{data/dedication}
\include{data/acknowledgements}
\include{data/contributors}
\include{data/nomenclature}
\include{data/lists} % This is simply a file that formats and adds your toc, lof, and lot, please do not edit this unless you have a specific need.
\include{data/Ch1}
\include{data/Ch2}
\include{data/Ch3}
\include{data/Ch4}
\include{data/Ch5}
\include{data/Ch6}
%fix spacing in bibliography, if any...
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\let\oldbibitem\bibitem
\renewcommand{\bibitem}{\setlength{\itemsep}{0pt}\oldbibitem}
\bibliographystyle{ieeetr}
\phantomsection
\addcontentsline{toc}{chapter}{REFERENCES}
\renewcommand{\bibname}{{\normalsize\rm REFERENCES}}
%This file is a .bib database that contains the sources.
%This removes the dependency on the previous file
%bibliography.tex.
\bibliography{data/myReference}
\include{data/appendices}
\end{document}
如果你需要 tamuconfig.sty 来查明大学是否出了什么问题,请访问https://github.com/bardsoftware/template-thes-tamu/blob/master/tamuconfig.sty。
然后我应该能够使用以下内容将版权声明作为标题的脚注插入:
\renewcommand{\thefootnote}{\fnsymbol{footnote}} %Switch to symbol marker footnotes
\chapter[\uppercase{Title}]{\uppercase{Title}\footnote{copyright notice}} %Chapter title
\renewcommand{\thefootnote}{\arabic{footnote}} %Switch back to arabic footnote marker
当我这样做时,我收到上述错误。
这是可能的,因为它是在https://oaktrust.library.tamu.edu/bitstream/handle/1969.1/173421/LIU-DISSERTATION-2018.pdf?sequence=1&isAllowed=y并且大学也要求这样做。
如果有关系的话,我会用 TeX Live 来编译文档;除此之外pdflatex --version
还会制作其他东西。pdfTeX 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian)