TeX 및 특정 페이지의 각주/제목을 출력하지 않는 방법

TeX 및 특정 페이지의 각주/제목을 출력하지 않는 방법

제목 페이지, 모든 페이지, 머리글/각주 없음, 페이지 단위로 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

관련 정보