summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/chbibref/chbibref.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/chbibref/chbibref.sty
Initial commit
Diffstat (limited to 'macros/latex/contrib/chbibref/chbibref.sty')
-rw-r--r--macros/latex/contrib/chbibref/chbibref.sty36
1 files changed, 36 insertions, 0 deletions
diff --git a/macros/latex/contrib/chbibref/chbibref.sty b/macros/latex/contrib/chbibref/chbibref.sty
new file mode 100644
index 0000000000..99bcfc7417
--- /dev/null
+++ b/macros/latex/contrib/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
+%