summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/chbibref
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-02-21 23:15:51 +0000
committerKarl Berry <karl@freefriends.org>2010-02-21 23:15:51 +0000
commit890ca49fb2f088682804abc279975a8fd3a1bafb (patch)
treeef88b89dd155fa6aab806383c98c4d054b34c45b /Master/texmf-dist/tex/latex/chbibref
parent63fe8a2678da6a96cf25976f23bac34f3bc19872 (diff)
chbibref doc update (21feb09)
git-svn-id: svn://tug.org/texlive/trunk@17120 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/chbibref')
-rw-r--r--Master/texmf-dist/tex/latex/chbibref/chbibref.sty36
1 files changed, 36 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/chbibref/chbibref.sty b/Master/texmf-dist/tex/latex/chbibref/chbibref.sty
new file mode 100644
index 00000000000..99bcfc74171
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/chbibref/chbibref.sty
@@ -0,0 +1,36 @@
+% chbibref.sty Change the Bibliography/References heading
+%
+% author: Peter Wilson (CUA)
+% (now at peter.r.wilson@boeing.com)
+% Copyright Peter Wilson, 2001
+% Released under the Latex Project Public License
+%
+% Usage instructions are at the end of this file.
+%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{chbibref}[2001/03/07 v1.0 change Bibliography/References heading]
+
+\newcommand{\setbibref}[1]{%
+ \@ifundefined{refname}{}{\renewcommand{\refname}{#1}}
+ \@ifundefined{bibname}{}{\renewcommand{\bibname}{#1}}
+}
+
+\endinput
+%
+% In the article class the title text printed by
+% \begin{thebibliography} is given by the value of \refname
+% (default References), while in the report and chapter
+% classes the text is given by the value of \bibname
+% (default Bibliography).
+%
+% The command \setbibref{name} will set the title text for the
+% Bibliography or the References to `name' for at least the article,
+% report and book standard LaTeX classes, without having to be
+% concerned which class is being used.
+%
+% If you are using the babel package, put \setbibref{...} after
+% the \begin{document}.
+%
+% Peter W.
+% 2001/03/07
+%