我想排版出现在排版区域内但在脚注之后的文本。(如何)可以实现吗?我尝试缩短页面(使用 geometry 包和命令\newgeometry
)并将该文本用于页脚。我无法重置下一页的几何图形(请参阅我的另一个问题)但也许有更好的方法?
\documentclass{article}
\usepackage{geometry,blindtext}
\geometry{showframe}
\begin{document}
\blindtext[9]
\clearpage This is a special page\footnote{footnote}.
\specialcommand{A short horizontal rule and then in the next line: accumsan semper. Lorem ipsum dolor}
\blindtext[9]
\end{document}
答案1
取决于文档以及解决方案的“通用性”。在您的示例中,一个简单的底部浮动就可以起作用:
\documentclass{article}
\usepackage{geometry,blindtext}
\geometry{showframe}
\newcommand\specialcommand[1]{\begin{figure}[b]
\rule{3cm}{0.4pt}\\
#1
\end{figure}}
\begin{document}
\blindtext[9]
\clearpage This is a special page\footnote{footnote}.
\specialcommand{A short horizontal rule and then in the next line: accumsan semper. Lorem ipsum dolor}
\blindtext[9]
\end{document}
\enlargethispage
针对您的另一个问题提出一个建议:
\documentclass{article}
\usepackage{geometry,blindtext,eso-pic}
\geometry{showframe}
\newcommand\specialcommand[1]{%
\enlargethispage{-1cm}
\AddToShipoutPictureBG*{%
\AtTextLowerLeft{%
\parbox[b]{\linewidth}{%
\rule{3cm}{0.4pt}\par#1}}}}
\begin{document}
\blindtext[9]
\clearpage This is a special page\footnote{footnote}.
\specialcommand{A short horizontal rule and then in the next line: accumsan semper. Lorem ipsum dolor}
\blindtext[9]
\end{document}