Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Need Bibliography as a numbered section

3,026 views
Skip to first unread message

James D. Oliver III

unread,
Aug 16, 1998, 3:00:00 AM8/16/98
to
I am submitting a document that reuqires that the bibliography be a numbered
section, which is not the last section in the document. I.e.,

1. Introduction
.
.
.
2. More stuff

.

3. Bibliography
.
.
.
4. Other stuff

(First, I know this is stupid formatting, but this is what is required, so
don't argue about it.)

I am using LaTex and BiBTeX. As near as I can figure out, there are two
options, neither one of which I have been able to do:
a) modify the \bibliography command so that it recognizes the bibliography as
a section and number it appropriately (this seems like it might be a hard
thing to do).
b) modify the bibliography command so that it doesn't print out ANY heading,
then substitute my own \section{Bibliography} command (this seems it might be
easier).

I seem to remember many years ago people posing a smiliar question but can't
remember what was proposed. Any suggestions or pointers?


___________________
Jim Oliver
oli...@cais.com
(remove the "nospam" before reply)

Cord Hockemeyer

unread,
Aug 17, 1998, 3:00:00 AM8/17/98
to
James D. Oliver III (oliver...@cais.com) wrote:
> I am submitting a document that reuqires that the bibliography be a numbered
> section, which is not the last section in the document. I.e.,
[...]

> I am using LaTex and BiBTeX. As near as I can figure out, there are two
> options, neither one of which I have been able to do:
> a) modify the \bibliography command so that it recognizes the bibliography as
> a section and number it appropriately (this seems like it might be a hard
> thing to do).

Well, actually not so very hard. Just copy the definition of the
\thebibliography comand from your class file (article.cls or
whatever you are using) into a new .sty file. There you change
the \section* command (quite in the beginning) into a \section
command (for report and book it is a \chapter* you have to change
into a \chapter, of course). Save this file and include it via
\usepackage. That's it.

HTH
Cord

--
Dipl.-Inform. Cord Hockemeyer Institut fuer Psychologie
E-Mail: Cord.Ho...@kfunigraz.ac.at Karl-Franzens-Universitaet Graz
Phone: +43 316 380 8542 Universitaetsplatz 2/III
Fax: +43 316 380 9806 A-8010 Graz, Austria


Donald Arseneau

unread,
Aug 17, 1998, 3:00:00 AM8/17/98
to
In article <6r7ivm$3t8...@oliver.cais.com>, oliver...@cais.com (James D. Oliver III) writes...

>I am submitting a document that reuqires that the bibliography be a numbered
>section, which is not the last section in the document.

>a) modify the \bibliography command

>b) modify the bibliography command

What you need to do is change the {thebibliography} environment (or
\thebibliography command). It may sound strange, but this is the
official document layout interface. The definition appears in the
document class file (article.cls for an article), so is intended to
be changed. Copy that definition out and:
change \section* to \section
remove the \@mkboth{blah}{blah}
Save the result in your own .sty or .cls file.

For example,
{\section*{\refname
\@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}}%

would become
{\section{\refname}%

Or (report/book)
{\chapter*{\bibname
\@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}}%

becomes
{\chapter{\bibname}%

When you put the definition in a .sty file, remember to change
\newenvironment to \renewenvironment.

Donald Arseneau as...@triumf.ca

0 new messages