Article View: comp.text.tex
Article #821Re: page numbering
From: Erik Plesner
Date: Wed, 05 Aug 1992 09:16
Date: Wed, 05 Aug 1992 09:16
46 lines
2001 bytes
2001 bytes
dsimon@atlas.nafb.trw.com writes:
>A couple of weeks ago someone was asking about how to prevent a page number
>from appearing at the bottom of the first page of an article. Does anyone
>have the answer? I use \pagestyle{empty} and still get a page number
>at the bottom of the page with the title. Even when I insert a garbage
>page as my first page, the page with the title always has a page number!
>------------
>Dan Simon
There is a bug in the article.sty (and probably other .sty as well) coursing
pagenumbers ALWAYS to be printed at page 1.
Problem is that \maketitle and \titlepage executes \thispagestyle{plain}
during processing.
When some one asked this question about a month ago, I made him this
.sty file which fixes the problem.
------------------ nicetitles.sty --------------------------------
\def\theindex{\@restonecoltrue\if@twocolumn\@restonecolfalse\fi
\columnseprule \z@
\columnsep 35pt\twocolumn[\section*{Index}]
\@mkboth{INDEX}{INDEX}\parindent\z@
\parskip\z@ plus .3pt\relax\let\item\@idxitem}
\def\maketitle{\par
\begingroup
\def\thefootnote{\fnsymbol{footnote}}
\def\@makefnmark{\hbox
to 0pt{$^{\@thefnmark}$\hss}}
\if@twocolumn
\twocolumn[\@maketitle]
\else \newpage
\global\@topnum\z@ \@maketitle \fi\@thanks
\endgroup
\setcounter{footnote}{0}
\let\maketitle\relax
\let\@maketitle\relax
\gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
-------------------------------------------------------------------
Just do \documentstyle[...,nicetitles,...]{article}
Kind regards
Erik Plesner (ep@id.dth.dk)
M.Sc., Research Engineer, Technical University of Denmark
Technical Details
Message-ID:
<1992Aug5.091641.25576@id.dth.dk>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!dkuug!uts!id.dth.dk!epReferences:
<1097.2a7d1025@atlas.nafb.trw.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!dkuug!uts!id.dth.dk!ep From: ep@id.dth.dk (Erik Plesner) Newsgroups: comp.text.tex Subject: Re: page numbering Message-ID: <1992Aug5.091641.25576@id.dth.dk> Date: 5 Aug 92 09:16:41 GMT References: <1097.2a7d1025@atlas.nafb.trw.com> Organization: Department of Computer Science Lines: 46