Page LayoutPutting a custom footer on the first page of an article

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
tcadena411
Posts: 5
Joined: Sun Aug 09, 2009 12:41 am

Putting a custom footer on the first page of an article

Post by tcadena411 »

Below is the shell of my LaTeX program. I want to put a custom footer on the first page that is exactly like the custom footer on all of my other pages(see the \cfoot command below). The \thispagestyle{empty} command after the \maketitle was put there just to get rid of the automatic page number for the first page.

Any assistance is greatly appreciated.

tcadena411

Code: Select all

Code, edit and compile here:
\documentclass[letterpaper]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{enumitem}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{fancyhdr}
\pagestyle{fancy}
\rhead{\thepage}
\fancyfoot{}
\cfoot{\tiny{\text Copyright (c) 2009 All rights reserved. Duplication for purposes of any kind is strictly forbidden.}}
\renewcommand{\headrulewidth}{}
\title{Domain I}
\date{}
\setlength{\parindent}{0pt}
\pdfpagewidth 8.5in
\pdfpageheight 11in
\begin{document}
\maketitle\thispagestyle{empty}
\end{document}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Putting a custom footer on the first page of an article

Post by gmedina »

Hi,

the \maketitle command as implemented in the article document class, sets plain as the page style to be used when the \maketitle command is used (without the titlepage class option). To get the footer, one option is then to redefine the plain page style; please take a look at the following example:

Code: Select all

Code, edit and compile here:
\documentclass[letterpaper]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{enumitem}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[R]{\thepage}
\fancyfoot[C]{\tiny Copyright \textcopyright\ 2009 All rights reserved. Duplication for purposes of any kind is strictly forbidden.}
\renewcommand{\headrulewidth}{0pt}
%
\fancypagestyle{plain}{%
\fancyhf{}
\fancyfoot[C]{\tiny Copyright \textcopyright\ 2009 All rights reserved. Duplication for purposes of any kind is strictly
forbidden.}
\renewcommand{\headrulewidth}{0pt}
}
%
\title{Domain I}
\author{}
\date{}
\begin{document}
\maketitle
\end{document}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1,1,2,3,5,8,13,21,34,55,89,144,233,...
tcadena411
Posts: 5
Joined: Sun Aug 09, 2009 12:41 am

Re: Putting a custom footer on the first page of an article

Post by tcadena411 »

Thank you so much gmedina. This works perfectly!!
Post Reply