
在跨多個頁面的文檔中,我想將特定文字立即放在每個頁面的文字末尾(我想在下一頁的開頭做同樣的事情)。我實際上正在尋找\AtEndDocument{text}
頁面級別的吊墜。
吊墜應該完全做到這一點,但是對於每個頁面,類似於\AtEndPage{here ends page \thepage}
\AtBeginPage{這裡開始頁面 \thepage}。
這目的如下: 這是一個合法的文本,這是為了省略在原始文本之前或之後的可用空間中添加附加資訊(文本)。同時,它是一個應該保持美觀的文檔,並且這必須發生在包含 - 比方說 - 文本流而不是腳註等的文本框中。
這將會發生
- 在一個
\begin{multicols}{2}
環境內 - 僅當有分頁符號時,因此文件末尾不會添加文本
這就是我想要的,在這裡我手動修復了它:
\documentclass{article}
\usepackage{lipsum}
\begin{document}
\textbf{Here will be a formal beginning, which indicates the legal beginning of the document, so no continuation-indicator is needed.}
\lipsum[1-1]
\footnote{This is a footnote that is outside the actual 'text stream'}
\lipsum[1-1]
% This is manual, I will not know, where the page will break.
% The voulnerable part of the text is protected by this:
\textbf{end of page \thepage} % manual
\newpage
% %he voulnerable part of the text is protected by this:
\textbf{start of page \thepage} % manual
\lipsum[1-3]
\textbf{Here will be a formal end, which indicates the legal end of the document, so no continuation-indicator is needed.}
\end{document}