🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #3479

Re: Preface Macro requested for LaTeX

#3479
From: rusty
Date: Thu, 19 Feb 1987 02:54
31 lines
1333 bytes
Try doing something like

\documentstyle{book}
\begin{document}
\pagenumbering{roman}
\chapter*{Preface\markboth{Preface}{Preface}}
(text of preface here)
\pagenumbering{arabic}
\chapter{First Chapter}
...
\end{document}

You also need an \addcontentsline.  You could wrap this all up into an
environment with something like

\newenvironment{preface}{%
\pagenumbering{roman}%
\chapter*{Preface\markboth{Preface}{Preface}}%
\addcontentsline{toc}{chapter}{Preface}%
}{%
\pagenumbering{arabic}%
}

Then you could do \begin{preface} ... \end{preface}.  Let me know if
it works.

--------------------------------------

	rusty c. wright
	rusty@weyl.berkeley.edu
	ucbvax!weyl!rusty
Technical Details
Message-ID: <994@cartan.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!mit-eddie!genrad!decvax!ucbvax!cartan!weyl.Berkeley.EDU!rusty
References: <2368@sunybcs.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!mit-eddie!genrad!decvax!ucbvax!cartan!weyl.Berkeley.EDU!rusty
From: rusty@weyl.Berkeley.EDU.UUCP
Newsgroups: comp.text
Subject: Re: Preface Macro requested for LaTeX
Message-ID: <994@cartan.Berkeley.EDU>
Date: Wed, 18-Feb-87 21:54:00 EST
Article-I.D.: cartan.994
Posted: Wed Feb 18 21:54:00 1987
Date-Received: Fri, 20-Feb-87 04:21:34 EST
References: <2368@sunybcs.UUCP>
Sender: daemon@cartan.Berkeley.EDU
Reply-To: rusty@weyl.Berkeley.EDU (Rusty Wright)
Organization: Math Dept. UC Berkeley
Lines: 31