在每一页写相同的脚注

在每一页写相同的脚注

我必须在每一页的脚注空间的开头写相同的脚注,如下所示:

\footnotetext{Footnote space title that should go in each page}

 Lorem ipsum dolor sit amet\footnotetext{first footnote}, consectetur adipiscing elit. Sed fringilla eros vel sapien tristique tempor. Maecenas metus nisl, posuere ac quam nec, pretium rhoncus augue. Vivamus viverra nec leo vitae ornare. Praesent ac ultrices ante. Nulla sed risus et eros volutpat volutpat. Integer\footnotetext{second footnote} vitae nulla ut metus dictum imperdiet. Ut nisl neque, pellentesque blandit sapien nec, interdum imperdiet tortor. Suspendisse potenti. Donec cursus ex a leo eleifend, eget faucibus dolor vestibulum\footnotetext{third footnote}. Aenean feugiat aliquet diam nec lobortis. Fusce ullamcorper at ligula quis tincidunt.

\newpage
\footnotetext{Footnote space title that should go in each page}
Fusce sagittis volutpat augue eget viverra. Nam sollicitudin turpis at arcu consequat, vel vulputate leo egestas. Cras iaculis ex quam, sed viverra nulla gravida eu. Integer a tincidunt risus. In tellus ipsum, porttitor sed est vitae, pharetra\footnotetext{fourth footnote} sollicitudin dolor. Etiam sodales iaculis vestibulum. Nulla vestibulum diam sem, eu dignissim diam sodales eget. Proin a commodo ex, ac feugiat nisl.

\newpage
\footnotetext{Footnote space title that should go in each page}
Curabitur erat lacus, eleifend a nibh eu, efficitur ullamcorper purus. Donec vel felis risus. Etiam sit amet blandit odio. Aenean lobortis dignissim sapien, nec suscipit tellus condimentum et. Sed eget tortor sit amet erat ullamcorper euismod. Fusce\footnotetext{etc. etc} porta id lacus vel consectetur. Duis orci libero, eleifend in euismod at, viverra in ligula. Donec libero est, vehicula eget massa non, tincidunt posuere massa. Nullam tincidunt condimentum nibh, eget accumsan ligula pharetra at. Aenean et ex dictum, molestie neque nec\footnotetext{latest footnote}, porta nisl. 

注意: \newpage 命令只能显示我需要的内容,但我无法将其插入到每一页中。

是否可以?

答案1

重新定义\footnoterule

\documentclass{article}

\usepackage[paperwidth=21cm,paperheight=8cm]{geometry}
\usepackage{lipsum}

\usepackage{etoolbox} % this is necessary

\makeatletter
% keep the original \footnoterule for minipage
\let\latex@footnoterule\footnoterule
\patchcmd{\endminipage}{\footnoterule}{\latex@footnoterule}{}{}
% redefine \footnoterule
\renewcommand{\footnoterule}{%
  \vtop to 0pt{
    \vss
    \hrule \@width .4\columnwidth
    \vskip 3\p@
    \hbox{\footnotesize\itshape\fixedfootnotetext}
    \vskip 3\p@
    \hrule \@height \z@
  }
}
\setlength{\skip\footins}{4ex}
\makeatother

\newcommand\fixedfootnotetext{Footnote space title that should go in each page}


\begin{document}

a\footnote{First footnote} \lipsum[1-3]

c\footnote{Second footnote} \lipsum[2]

\end{document}

geometry和的加载lipsum仅作为示例。重新定义\fixedfootnotetext即可获得您想要的内容。

在此处输入图片描述

答案2

在您确认只希望在带有脚注的页面上使用此内容之前,我已经这样做了。

注意,\FootnoteEnd 在第二页执行,但是直到第三页才生效。

\documentclass[10pt,a4paper]{article}
\usepackage{afterpage}
\usepackage{lipsum}

\newcommand{\repeatfootnote}{\empty}
\newcommand{\againfootnote}%
{\ifx\repeatfootnote\empty\relax\else
   \footnotetext{\repeatfootnote}%
   \afterpage{\againfootnote}%
 \fi
}
\newcommand{\FootnoteStart}[1]% #1 = footnote text
{\def\repeatfootnote{#1}%
 \afterpage{\againfootnote}%
}
\newcommand{\FootnoteEnd}{\edef\repeatfootnote{\empty}}

\begin{document}
\footnotetext{First footnote}
\FootnoteStart{Footnote space title that should go in each page}
\lipsum[1-8]
\FootnoteEnd
\lipsum[9-16]

\end{document}

相关内容