以下のコードで、独自のヘッダとフッタを持ったスタイル'hoge'を定義し、\thispagestypeで利用する。
\documentclass[a4paper]{jarticle}
\makeatletter
\newcommand{\ps@hoge}{%
\renewcommand{\@oddhead}{ヘッダ文字列だよー\hfil}%
\renewcommand{\@evenhead}{\@oddhead}%
\renewcommand{\@oddfoot}{\hfil\textrm{\thepage}\hfil}%
\renewcommand{\@evenfoot}{\@oddfoot}%
}
\makeatother
\title{たいとるぺーじだけに特定のヘッダを入れるための操作}
\author{森若和雄}
\date{平成14年3月26日(火)}
\begin{document}
\maketitle
\thispagestyle{hoge}
\date
ほげ
\end{document}
