I need to bring different header & footer contents in first page. what package can i use for this process.

\documentclass[twocolumn, 9pt, a4paper]{extarticle}
\usepackage[includefoot, footskip=0.4in]{geometry}
\geometry{a4paper, left=0.6in, right=0.4in, top=0.8in, bottom=0.5in}
\usepackage{array, booktabs}
\usepackage[format=plain, justification=justified, singlelinecheck=true, font={small}, labelfont=bf,labelsep=period]{caption}
\patchcmd\@outputpage{\global \@colht \textheight}{%
\usepackage{afterpage, fancyhdr, xpatch}
\setlength{\intextsep}{5pt plus 1.0pt minus 2.0pt}


\fancyfoot[L]{ \includegraphics[width=0.5in]{Image1}}
\fancyfoot[C]{\hspace{0.5cm} \textbf{\textit{\small xxxxxx}}}

A basic paragraph structure usually consists of five sentences: the topic sentence, three supporting sentences, and a concluding sentence. But the secrets to paragraph writing lay in four essential elements, which when used correctly, can make a okay paragraph into a great paragraph.


First of all your MWE has many things which are probably not needed. Try to make it more command specific. About your question- You need not go this long. There are simpler ways for doing this. fancyhdr package includes commands such as -

lhead, chead, lhead rfoot, cfoot, lfoot

The convention is to write these commands in the preamble, but you can write them in between the document also.

I've prepared an example for different headers and footers for different pages.


\pagenumbering{gobble} %This command will disable pagecounting.
\cfoot{First page}
\pagenumbering{arabic} %From this pagecounting will start.
\cfoot{\thepage} %This will disable the effect of your first \cfoot command.

This code will generate this output -

User decided footer for first page.

Start of the pagenumbering

Continued numbering


Instead of fancyhdr you can use Titleps

  % syntax
  \newpagestyle{myfirstpage}[]{  %between [] after the pagestyle name you can insert \scshape for example {as long as you have a font that supports small caps!}

 {〈odd-left〉}{〈odd-center〉} {〈odd-right〉}
% then you create a 2th pagestyle with the same syntax code above but with  different name and your personal options!

    Bla Bla bla

  \pagestyle{different name}

   Bla Bla

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.