Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am trying to add a footer to every page. The following code is working except the title page. I do not want to use any package. So, how can i do that?

\makeatletter
\newcommand{\ps@edbfooter}{
   \renewcommand{\@oddfoot}{my footer\hfill}%     
   \renewcommand{\@evenfoot}{my footer}%     
}
\makeatother
share|improve this question

migrated from stackoverflow.com May 23 '11 at 20:19

This question came from our site for professional and enthusiast programmers.

    
Sorry for the wrong question. I want to show the same footer for title page too. How can I do that? –  Anonymous May 23 '11 at 19:56
    
What document class are you using? –  Alan Munn May 23 '11 at 20:25
    
I think a MWE would be better. –  Marco Daniel May 23 '11 at 20:39

2 Answers 2

Probably the most practical solution is to issue \thispagestyle{edbfooter} after \maketitle.

share|improve this answer

Since I assume that \pagestyle{edbfooter} is being issued, another option would be to use \let\ps@plain\ps@edbfooter inside \makeatletter, and \makeatother.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.