[texhax] Ask for solution of a latex problem

Susan Dittmar SDittmar at eureca.de
Wed Apr 16 12:38:40 CEST 2008


Hi Gautam,

Quoting G. Garai (gautam.garai at saha.ac.in):
> I want to put a separate header on the title page (i.e., 1st page) which is
> different from the header on odd and even numbered pages.

as there have not been better answers yet, I dare to offer something I once
did in one project many years ago. It might not be good, but it still
works.

What I did was to define my own page styles.

\makeatletter	% allow @ as part of command names
\def\ps at myfancyheadings{
	% add head and foot definitions for the 'normal' pages here
}
\def\ps at myspecialfancyheadings{
	% add head and foot definitions for the first page here
}
\makeatother	% revert @ to its special meaning(s)

...

% if you do that first, you can be more sloppy with what you have to
% include in your own page style definitions:
\pagestyle{fancyplain}
% now call your own page style definitions:
\pagestyle{myfancyheadings}
\thispagestyle{myspecialfancyheadings}
...

As my last encounter with fancyheadings was many years ago, I cannot tell
you what exactly is needed in those page styles.

	Susan


More information about the texhax mailing list