Page LayoutGetting rid of page 1 on title page

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
leo simon
Posts: 17
Joined: Wed Aug 19, 2009 5:41 pm

Getting rid of page 1 on title page

Post by leo simon »

Would somebody mind looking at the following code and explaining why in spite of the \thispagestyle{empty} line and other attempts, latex continues to insist on putting a page number at the bottom? Thanks very much for your help

Code: Select all

\documentclass[12pt,titlepage,reqno]{amsart}%
\parindent=0 pt
\parskip=12 pt plus 0 pt minus 0 pt
\usepackage{layout}
\usepackage{ifthen}
\newcounter{MakeBlind}
\setcounter{MakeBlind}{0}
\newcounter{TitlePage}
\setcounter{TitlePage}{1}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{harvard}%
\usepackage{amsfonts}%
\usepackage{graphicx}
\usepackage{fullpage}
\usepackage{colordvi}
\usepackage{psfrag}
\usepackage{doublespace}
\usepackage{fancyhdr}
\textwidth 7in
\oddsidemargin -0.25in
\footskip -0.5in
\pagestyle{fancy}%DON'T FORGET THIS
\thispagestyle{empty}
\pagestyle{empty}
\title{\small BLAH}
\ifthenelse{\theMakeBlind=0}{
\author{BLAH$\empty^\dagger \qquad$
$\qquad$ BLAH $\empty^{\dagger\dagger}$
$\qquad$ BLAH $\empty^{\dagger\dagger\dagger}$
\\[36pt] \today}
    }{}
\thanks{
%\parbox[b]{7in}{
$\empty^{\dagger}$BLAH\\
$\empty^{\dagger\dagger}$BLAH\\
$\empty^{\dagger\dagger\dagger}$BLAH\\
%}
}
\begin{document}
\raggedbottom
\begin{abstract}
\begin{singlespace}
\bigskip\bigskip
BLAH
\\[12pt]
\noindent{\sc Keywords:} BLAH \\[12pt]
\noindent{\sc JEL classification numbers:} \ P48, Q25, Q34\\[12pt]
\noindent{\sc Acknowledgements:} \
\end{singlespace}
\end{abstract}
$\empty$\\[-84pt]
\maketitle
\pagestyle{empty}
\thispagestyle{empty}
\end{document}
~
Last edited by leo simon on Sat May 21, 2011 9:19 pm, edited 1 time in total.

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10330
Joined: Mon Mar 10, 2008 9:44 pm

Getting rid of page 1 on title page

Post by Stefan Kottwitz »

Hi,

the reason is, that the amsart class has a special page style for the first page. You can override it in your preamble, like here:

Code: Select all

\makeatletter
\let\ps@firstpage\ps@empty
\makeatother
Stefan
LaTeX.org admin
leo simon
Posts: 17
Joined: Wed Aug 19, 2009 5:41 pm

Re: Getting rid of page 1 on title page

Post by leo simon »

Worked like a charm, thanks very much indeed, Stefan.
Post Reply