我在设置库的属性footmisc
以将脚注设置在底部时遇到问题。
我已经完成了以下代码,但是脚注有点不完全符合我的要求。
\usepackage[bottom]{footmisc}
无[bottom]
财产
有[bottom]
產品
这是一个例子
\documentclass{article}
\usepackage[bottom]{footmisc}
\usepackage[top=2.54cm,
bottom=2.54cm,
left=2.54cm,
right=2.54cm,
headheight=17pt,
includehead,includefoot,
heightrounded,
]{geometry} %
\usepackage{fancyhdr}
\fancypagestyle{myportland}{
\fancyhead{}% clear all header
\fancyfoot{}% clear all footer
\fancyhf{}% clear all header and footer fields
\fancyhead[L,C,R]{}
\fancyfoot[L,C,R]{}
\fancyfoot[C]{Página \thepage}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}
\newgeometry{
top=2.54cm,
bottom=2.54cm,
left=2.54cm,
right=2.54cm,
headheight=17pt, % as per the warning by fancyhdr
includehead,includefoot,
heightrounded % to avoid spurious underfull messages
}
}
\begin{document}
\pagestyle{myportland}
Something.\footnote{Here is a footnote.} Something else.\footnote{Lorem ipsum dolor sitamet, consectetur adipiscing elit. Morbi risus lacus, suscipit vehicula ullamcorper a, tempus consectetur.}
\end{document}
与输出:
答案1
通过设置值来实现所需的输出\footskip
。这footskip
会减少所有可用的空白。
\documentclass{article}
\usepackage[bottom]{footmisc}
\usepackage[top=2.54cm,
bottom=2.54cm,
left=2.54cm,
right=2.54cm,
headheight=17pt,
includehead,includefoot,
heightrounded,
]{geometry} %
\usepackage{fancyhdr}
\fancypagestyle{myportland}{
\fancyhead{}% clear all header
\fancyfoot{}% clear all footer
\fancyhf{}% clear all header and footer fields
\fancyhead[L,C,R]{}
\fancyfoot[L,C,R]{}
\fancyfoot[C]{Página \thepage}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}
\newgeometry{
top=2.54cm,
bottom=2.54cm,
left=2.54cm,
right=2.54cm,
headheight=17pt, % as per the warning by fancyhdr
includehead,includefoot,
heightrounded % to avoid spurious underfull messages
}
}
\setlength{\footskip}{2pt}
\begin{document}
\pagestyle{myportland}
Something.\footnote{Here is a footnote.} Something else.\footnote{Lorem ipsum dolor sitamet, consectetur adipiscing elit. Morbi risus lacus, suscipit vehicula ullamcorper a, tempus consectetur.}
\end{document}