[texhax] Ask for solution of a latex problem

Axel E. Retif axel.retif at mac.com
Wed Apr 16 11:50:31 CEST 2008


On  16 Apr, 2008, at 04:20, G. Garai wrote:

> Hi,
>
> 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.

[...]

> \documentclass[psfig,twocolumn,twoside]{article}
> \usepackage{psfig}
> \usepackage{fancyheadings}

You're using an old package, fancyheadings; its author, Piet van  
Oostrum, has ask us to use his new package fancyhdr.

(By the way, also psfig is old ---the recommendation is to use  
graphicx.)

You define a page style here

> \pagestyle{fancyplain}
> \lhead[{\small Hybrid Genetic Algorithm for 2-D Dot Pattern  
> Matching Problem}\\]{}
> \rhead[]{{\small Proceedings of the National Conference CSI-RDHS  
> 2008}\\}

[...]

and then redefine the right head of the **same page style** here  
(that's why the 3rd page header changes as well):

> \thispagestyle{fancyplain}
> \rhead[]{\fancyplain{}{{\small Proceedings of the National  
> Conference on} \\
>                {\small Research and Development in Hardware \&  
> System} \\
>                {\small (CSI-RDHS 2008)} \\
>                {\small June 20-21, 2008, Kolkata, India}}}

In your terminal or Command Prompt type

texdoc fancyhdr <return>

to see the documentation of fancyhdr.sty. See how to define your  
general page styles and then ***see, in p. 7, how to define your  
plain page style***, so you can have the first page of your article  
as you want it.


Best,

Axel



More information about the texhax mailing list