
標題頁、任頁、無頁首/頁尾,使用 plain+etex+opmac,以每頁為基礎。
是否有針對頁面巨集的手動編碼解決方案來放鬆頁面的腳/標題。在「想法」之下顯然不是解決方案。
\tit Title % Some title command in plain tex
\def\nofootline{\footline{}} % would show an "empty" footline
\nofootline % the \nofootline is applied
\vfill\break % this would end the page
\let\nofootline{\relax} % no longer have the \nofootline having any effect
並且該頁面將具有最初定義的腳線。
答案1
也許您正在尋找這樣的巨集\onlythispage
:
\def\onlythispage#1=#2{%
\expandafter\xdef\csname saved\string#1\endcsname{\the#1}%
\global#1={#2\global#1=\expandafter\expandafter\expandafter
{\csname saved\string#1\endcsname}}
}
\def\nofootline{\onlythispage\footline={}} % would show an "empty" footline
\nofootline % the \nofootline is applied
Text, empty footline is here.
\vfill\break % this would end the page
Text, the original footline is here.
\end