From 890ca49fb2f088682804abc279975a8fd3a1bafb Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 21 Feb 2010 23:15:51 +0000 Subject: chbibref doc update (21feb09) git-svn-id: svn://tug.org/texlive/trunk@17120 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/chbibref/chbibref.pdf | Bin 0 -> 173194 bytes Master/texmf-dist/doc/latex/chbibref/chbibref.tex | 44 ++++++++++++++++++++++ Master/texmf-dist/tex/latex/chbibref/chbibref.sty | 36 ++++++++++++++++++ Master/texmf-dist/tex/latex/ltxmisc/chbibref.sty | 36 ------------------ 4 files changed, 80 insertions(+), 36 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/chbibref/chbibref.pdf create mode 100644 Master/texmf-dist/doc/latex/chbibref/chbibref.tex create mode 100644 Master/texmf-dist/tex/latex/chbibref/chbibref.sty delete mode 100644 Master/texmf-dist/tex/latex/ltxmisc/chbibref.sty (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/latex/chbibref/chbibref.pdf b/Master/texmf-dist/doc/latex/chbibref/chbibref.pdf new file mode 100644 index 00000000000..3fac0f13c6e Binary files /dev/null and b/Master/texmf-dist/doc/latex/chbibref/chbibref.pdf differ diff --git a/Master/texmf-dist/doc/latex/chbibref/chbibref.tex b/Master/texmf-dist/doc/latex/chbibref/chbibref.tex new file mode 100644 index 00000000000..d0872f17096 --- /dev/null +++ b/Master/texmf-dist/doc/latex/chbibref/chbibref.tex @@ -0,0 +1,44 @@ +\documentclass[fontsize=12pt, DIV=8, pagesize=auto]{scrartcl} + +\usepackage{fixltx2e} +\usepackage{etex} +\usepackage{xspace} +\usepackage{lmodern} +\usepackage[T1]{fontenc} +\usepackage{textcomp} +\usepackage{microtype} + +\newcommand*{\pkg}[1]{\textsf{#1}} +\newcommand*{\cs}[1]{\texttt{\textbackslash#1}} +\makeatletter +\newcommand*{\cmd}[1]{\cs{\expandafter\@gobble\string#1}} +\makeatother +\newcommand*{\meta}[1]{\textlangle\textsl{#1}\textrangle} +\newcommand*{\marg}[1]{\texttt{\{}\meta{#1}\texttt{\}}} + +\addtokomafont{title}{\rmfamily} + +\title{The \pkg{chbibref} package} +\author{Peter Wilson} +\date{2001/03/07} + + +\begin{document} + +\maketitle + +In the \pkg{article} class the title text printed by +\verb+\begin{thebibliography}+ is given by the value of \cmd{\refname} +(default \textsf{References}), while in the \pkg{report} and \pkg{chapter} +classes the text is given by the value of \cmd{\bibname} +(default \textsf{Bibliography}). + +The command \cmd{\setbibref}\marg{name} will set the title text for the +Bibliography or the References to `\meta{name}' for at least the \pkg{article}, +\pkg{report} and \pkg{book} standard \LaTeX\ classes, without having to be +concerned which class is being used. + +If you are using the \pkg{babel} package, put \verb+\setbibref{...}+ after +the \verb+\begin{document}+. + +\end{document} 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 +% diff --git a/Master/texmf-dist/tex/latex/ltxmisc/chbibref.sty b/Master/texmf-dist/tex/latex/ltxmisc/chbibref.sty deleted file mode 100644 index 99bcfc74171..00000000000 --- a/Master/texmf-dist/tex/latex/ltxmisc/chbibref.sty +++ /dev/null @@ -1,36 +0,0 @@ -% 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 -% -- cgit v1.2.3