
我正在尝试为每一页添加页脚。除标题页外,以下代码均可用。我不想使用任何包。那么,我该怎么做呢?
\makeatletter
\newcommand{\ps@edbfooter}{
\renewcommand{\@oddfoot}{my footer\hfill}%
\renewcommand{\@evenfoot}{my footer}%
}
\makeatother
答案1
可能最实际的解决方案是\thispagestyle{edbfooter}
在之后发出\maketitle
。
答案2
由于我假设\pagestyle{edbfooter}
正在发布,另一个选择是使用\let\ps@plain\ps@edbfooter
内部\makeatletter
、和\makeatother
。