🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #11564

Re: How to remove page numbers in articles with maketitle ?

#11564
From: Brendan Mahony
Date: Mon, 11 Nov 1991 00:31
35 lines
1962 bytes
\maketitle changes the page style of the first page to plain. This is
good for styles which set headers, but destructive for empty and also
for any user defined page styles.

The following revision of the article \maketitle lets you define your own style
for the title page:

\def\maketitle{\@ifnextchar[{\@mtitle}{\@mtitle[plain]}}

\def\@mtitle[#1]{\par
 \begingroup
 \def\thefootnote{\fnsymbol{footnote}}
 \def\@makefnmark{\hbox 
 to 0pt{$^{\@thefnmark}$\hss}} 
 \if@twocolumn 
 \twocolumn[\@maketitle] 
 \else \newpage
 \global\@topnum\z@ \@maketitle \fi\thispagestyle{#1}\@thanks
 \endgroup
 \setcounter{footnote}{0}
 \let\maketitle\relax
 \let\@maketitle\relax
 \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}

Simply write

	\maketitle[empty]

to get the desired effect.
--
Brendan Mahony                   | brendan@batserver.cs.uq.oz       
Department of Computer Science   | heretic: someone who disgrees with you
University of Queensland         | about something neither of you knows
Australia                        | anything about.
Technical Details
Message-ID: <5058@uqcspe.cs.uq.oz.au>
Path: arc1-ca.pugleaf.net!gmdzi!zeus.ieee.org!dorm.rutgers.edu!rutgers!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!spool.mu.edu!munnari.oz.au!bunyip.cc.uq.oz.au!uqcspe!cs.uq.oz.au!brendan
References: <1991Nov8.015516.7440@ccsd.uts.EDU.AU>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f9e16,953a153b7f62af45
X-Google-Attributes: gidf9e16,public
X-Google-Thread: f4a99,953a153b7f62af45
X-Google-Attributes: gidf4a99,public
X-Google-Thread: 10d04f,5d10e0a1a765b18,start
X-Google-Attributes: gid10d04f,public
X-Google-ArrivalTime: 1991-11-11 00:59:54 PST
Path: arc1-ca.pugleaf.net!gmdzi!zeus.ieee.org!dorm.rutgers.edu!rutgers!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!spool.mu.edu!munnari.oz.au!bunyip.cc.uq.oz.au!uqcspe!cs.uq.oz.au!brendan
From: brendan@cs.uq.oz.au (Brendan Mahony)
Newsgroups: comp.text.tex,aus.tex
Subject: Re: How to remove page numbers in articles with maketitle ?
Message-ID: <5058@uqcspe.cs.uq.oz.au>
Date: 11 Nov 91 00:31:08 GMT
References: <1991Nov8.015516.7440@ccsd.uts.EDU.AU>
Sender: news@cs.uq.oz.au
Reply-To: brendan@cs.uq.oz.au
Followup-To: comp.text.tex
Lines: 35