12.07.2015 Views

The memoir class - The UK TeX Archive

The memoir class - The UK TeX Archive

The memoir class - The UK TeX Archive

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

17. BACK MATTER<strong>The</strong> macro \bibsection defines the heading for the thebibliography environment;that is, everything before the actual list of items. It is effectively defined as\newcommand{\bibsection}{%\chapter*{\bibname}\bibmark\ifnobibintoc\else\phantomsection\addcontentsline{toc}{chapter}{\bibname}\fi\prebibhook}If you want to change the heading, redefine \bibsection. For example, to have the bibliographyas a numbered section instead of an unnumbered chapter, redefine it like\renewcommand{\bibsection}{%\section{\bibname}\prebibhook}If you use the natbib [Dal99a] and/or the chapterbib [Ars01b] packages with the sectionbiboption, then they change \bibsection appropriately to typeset the heading as a numberedsection.\bibmark\bibmark may be used in pagestyles for page headers in a bibliography. Its default definitionis:\newcommand*{\bibmark}{}but could be redefined like, say,\renewcommand*{\bibmark}{\markboth{\bibname}{}}\prebibhook \postbibhook<strong>The</strong> commands \prebibhook and postbibhook are called after typesetting the title ofthe bibliography and after typesetting the list of entries, respectively. By default, they aredefined to do nothing. You may wish to use one or other of these to provide some generalinformation about the bibliography. For example:\renewcommand{\prebibhook}{%CTAN is the Comprehensive \tx\ <strong>Archive</strong> Network and URLS for theseveral CTAN mirrors can be found at \url{http://www.tug.org}.}\biblistextraJust at the end of setting up the bibitemlist the \biblistextra command is called. Bydefault this does nothing but you may change it to do something useful. For instance, itcan be used to change the list parameters so that the entries are typeset flushleft.\renewcommand*{\biblistextra}{%\setlength{\leftmargin}{0pt}%\setlength{\itemindent}{\labelwidth}%\addtolength{\itemindent}{\labelsep}}300

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!