我正在使用fancyhdr
文档时,无法将页码(位于页脚的页面中心)与文档页面上的脚注分开。我发布了几张图片,展示了页脚应该是什么样子我的问题是什么。请提供该问题的解决方案。
谢谢。
这是我一直在研究的代码,
\usepackage{fancyhdr}
\thispagestyle{fancy}
\renewcommand{\headrulewidth}{0pt}% No header rule
\renewcommand{\footrulewidth}{0pt}% No footer rule
\fancyfoot[C]{Acknowledgements reflect the views of the author and are not endorsed by committee members or Oklahoma State University.{\thepage}}%
\pagebreak
现在,页脚末尾显示页码“iii”。我希望显示罗马数字,如图 1 所示。
答案1
我从代码片段中猜测,以下条目存在冲突\fancyfoot
:
\documentclass{article}
\usepackage{fancyhdr}
\renewcommand*{\headrulewidth}{0pt}
\renewcommand*{\footrulewidth}{0pt}
\fancyfoot[L]{Acknowledgements reflect the views of the author and are not
endorsed by committee members or Oklahoma State University.}
\pagestyle{fancy}
\begin{document}
\pagenumbering{roman}
\setcounter{page}{3}
\null
\end{document}
可以通过将左侧条目移至下方空行来获得所需的结果来解决该问题:
\documentclass{article}
\usepackage{fancyhdr}
\renewcommand*{\headrulewidth}{0pt}
\renewcommand*{\footrulewidth}{0pt}
\fancyfoot[L]{\mbox{}\\Acknowledgements reflect the views of the author
and are not endorsed by committee members or Oklahoma State University.}
\pagestyle{fancy}
\begin{document}
\pagenumbering{roman}
\setcounter{page}{3}
\null
\end{document}
确认文本的字体大小较小的示例:
\documentclass{article}
\usepackage{fancyhdr}
\renewcommand*{\headrulewidth}{0pt}
\renewcommand*{\footrulewidth}{0pt}
\fancyfoot[L]{%
\vspace{.6\baselineskip}
\footnotesize
Acknowledgements reflect the views of the author and
are not endorsed by committee members or Oklahoma State University.%
}
\pagestyle{fancy}
\begin{document}
\pagenumbering{roman}
\setcounter{page}{3}
\null
\end{document}