Page LayoutPage numbers in Bibliography

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
Tim
Posts: 2
Joined: Tue Mar 03, 2009 4:51 am

Page numbers in Bibliography

Post by Tim »

I'm having difficulty getting the page numbers of my thesis bibliography to display right. The bibliography page numbers should read:
"BIB - [page number]", but whenever I use NatBib, it overrides the new chapter and sets the bibliography pages as a continuation of Appendix C pages (ie. Bibliography page 1 is numbered C-9).

The right page numbering is specified in the class file (copy included at the end of the post), and I think NatBib with it's \renewenvironment in the style file is overwriting this code. I need NatBib for it's sorting and compressing of the references for in-text citations. Any ideas?

Code: Select all

Code, edit and compile here:
% ****************************************
% * BIBLIOGRAPHY *
% ****************************************
%
\def\@cite#1#2{[{#1\if@tempswa :#2\fi}]}
\def\@biblabel#1{#1.\hfill} %change from the default [#1]
\renewenvironment{thebibliography}[1]
{
\chapter*{\bibname
\@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}}%
\ifx\ch@ptnum\ch@ptnumflag{}
\else\gdef\thepage{BIB-\arabic{page}}
\setcounter{page}{1}\fi
\vspace{2.5ex}
\singlespace
\list{\@biblabel{\arabic{enumiv}}}%
{\settowidth\labelwidth{\@biblabel{#1}}%
\leftmargin\labelwidth
\advance\leftmargin\labelsep
\usecounter{enumiv}%
\itemsep 0.02in
\let\p@enumiv\@empty
\renewcommand\theenumiv{\arabic{enumiv}}%
}
\sloppy\clubpenalty4000\widowpenalty4000%
\sfcode`\.\@m}
{\def\@noitemerr
{\@latex@warning{Empty `thebibliography' environment}}%
\endlist}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Recommended reading 2024:

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

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

Post Reply