
タイトル ページ、任意のページ、見出し/フッターなし、プレーン + 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
そして、hoc のページには、元々定義されていたとおりのフッターラインが設定されます。
答え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