I wrote an ISO9000:2000 internal audit report which is basically a long table of section numbers from the standard, brief descriptions, a rating and my observations; especially if I rated the section UNSatisfactory. I used LATEX (LaTeX) to typeset the report and found that the \afterpage macro doesn’t work in \longtable. I usually use something like this on the title page:
\lhead{}\chead{}\rhead{\putlogo}
\afterpage{\chead{\MyTitle}}
After some head-scratching I came up with the following using the \ifthenelse macro to achieve the same effect. Now the header logic is inside the header itself.
\lhead{}\chead{%
\ifthenelse{\equal{1}{\thepage}}
{}
{\MyTitle}}\rhead{\putlogo}
Copyright © 2002-2006 James (Jim) R. R. Service (@gmail.com - jservice)