| 1 |
\documentclass[fontsize=12pt, DIV=8, pagesize=auto]{scrartcl} |
| 2 |
|
| 3 |
\usepackage{fixltx2e} |
| 4 |
\usepackage{etex} |
| 5 |
\usepackage{xspace} |
| 6 |
\usepackage{lmodern} |
| 7 |
\usepackage[T1]{fontenc} |
| 8 |
\usepackage{textcomp} |
| 9 |
\usepackage{microtype} |
| 10 |
|
| 11 |
\newcommand*{\pkg}[1]{\textsf{#1}} |
| 12 |
\newcommand*{\cs}[1]{\texttt{\textbackslash#1}} |
| 13 |
\makeatletter |
| 14 |
\newcommand*{\cmd}[1]{\cs{\expandafter\@gobble\string#1}} |
| 15 |
\makeatother |
| 16 |
\newcommand*{\meta}[1]{\textlangle\textsl{#1}\textrangle} |
| 17 |
\newcommand*{\marg}[1]{\texttt{\{}\meta{#1}\texttt{\}}} |
| 18 |
|
| 19 |
\addtokomafont{title}{\rmfamily} |
| 20 |
|
| 21 |
\title{The \pkg{chbibref} package} |
| 22 |
\author{Peter Wilson} |
| 23 |
\date{2001/03/07} |
| 24 |
|
| 25 |
|
| 26 |
\begin{document} |
| 27 |
|
| 28 |
\maketitle |
| 29 |
|
| 30 |
In the \pkg{article} class the title text printed by |
| 31 |
\verb+\begin{thebibliography}+ is given by the value of \cmd{\refname} |
| 32 |
(default \textsf{References}), while in the \pkg{report} and \pkg{chapter} |
| 33 |
classes the text is given by the value of \cmd{\bibname} |
| 34 |
(default \textsf{Bibliography}). |
| 35 |
|
| 36 |
The command \cmd{\setbibref}\marg{name} will set the title text for the |
| 37 |
Bibliography or the References to `\meta{name}' for at least the \pkg{article}, |
| 38 |
\pkg{report} and \pkg{book} standard \LaTeX\ classes, without having to be |
| 39 |
concerned which class is being used. |
| 40 |
|
| 41 |
If you are using the \pkg{babel} package, put \verb+\setbibref{...}+ after |
| 42 |
the \verb+\begin{document}+. |
| 43 |
|
| 44 |
\end{document} |